coelho_rj
Posts: 1
|
| Posted: 09/26/2006, 1:26 PM |
|
Hi
Can anyone help me in this problem.
I've tried all the combinations I've read and nothing works.
I have a record form with 2 textboxes: login and password.
I just want that to pass the informations using post method.
Is there any way to do it without passing it via get method also??
Thx for any help.
_________________
Fernando Lira |
 |
 |
garycrunk
Posts: 23
|
| Posted: 09/26/2006, 1:47 PM |
|
Yes.
Codecharge keeps this information in "Session" variables.
Look on your "Project" "Settings" under "Security" "Advanced". It should be setup as
UserLogin
If can be referenced ad Session("UserLogin")
What I do is when the user Logs In, I pass them to a "Welcome" page where I open their User Database Record. I then save the variables I need into Session Variables.
Session("MyFirstName") = users.first_name.Value
Session("MyLastName") = users.last_name.Value
Session("MyLoginName") = users.user_login.Value
Session("myemailaddress") = users.email.Value
Session("MyUserId:) = Session("UserID")
And so on and so forth... This way, when you create a "Home Page", you can set some labels to be preloaded with the session variables. If the user is logged in, then the label would say "Welcome John Doe"... As well, you can save these Sesion Variables so that if for example you have an E-Commerce site, and the user wants to "Check Out", You can Pre-Load the form fields for them (And have some hidden ones for yourself as well).
Gary Crunk
_________________
Gary Crunk
Job Examiner |
 |
 |
|