Jump to content

ASP login


jayeshp100
 Share

Recommended Posts

I did that before but basically when they login you store their userid in a session variable. When they are redirected to their page you do a select statement of their info in a form. When the update button is clicked you update those fields with whatever is in them.

Link to comment
Share on other sites

I did that before but basically when they login you store their userid in a session variable. When they are redirected to their page you do a select statement of their info in a form. When the update button is clicked you update those fields with whatever is in them.

Do i put the session vaiable within the login page and put the select statement within the page that processes the the users usernmae, password.
Link to comment
Share on other sites

Do i put the session vaiable within the login page and put the select statement within the page that processes the the users usernmae, password.

yes, the seesion variables will be carried between pages so if you set them once you authenticate the user on the login page you can check to see if they are logged in on all other pages before proceeding. YOu will need to execute the select staement on the page where you setup their profile form and populate that form with the result you get from the select statement.
Link to comment
Share on other sites

yes, the seesion variables will be carried between pages so if you set them once you authenticate the user on the login page you can check to see if they are logged in on all other pages before proceeding. YOu will need to execute the select staement on the page where you setup their profile form and populate that form with the result you get from the select statement.

I have tried to do the above, but i can't figure it out, are there any examples on the web
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...