acedrummond
Posts: 90
|
| Posted: 05/05/2010, 11:19 AM |
|
I need to use the login password as a variable in other screens.
Is there anyway t oeasily preserve it in the login before I redirect to the next page?
Thanks/
_________________
Ace Drummond |
 |
 |
datadoit
|
| Posted: 05/05/2010, 11:27 AM |
|
Since the user is authenticated, could you not just grab it when needed
via CCDLookUp()?
$pw = CCDLookUp("user_password", "users", "user_id=" . CCGetUserID(),
$Page->Connections["Connection1"]);
|
|
|
 |
acedrummond
Posts: 90
|
| Posted: 05/05/2010, 12:07 PM |
|
Thanks, but that code retrievs a field from the database.
In this case I am using the login as generated and before I redirect to the next page I want to take the password that was justkeyed in and use it as a parameter for the next page (session variable).
I don't know how to capture that password.
Thanks/
_________________
Ace Drummond |
 |
 |
Waspman
Posts: 948
|
| Posted: 05/05/2010, 2:16 PM |
|
Save the field value on submit?
_________________
http://www.waspmedia.co.uk |
 |
 |
acedrummond
Posts: 90
|
| Posted: 05/05/2010, 7:12 PM |
|
Problem solved
CCSetSession('key', ($Container->password->Value) );
I added this to //Login paragraph where the user/paassword was already validated.
Thanks/
_________________
Ace Drummond |
 |
 |
|