Author: amytdev | Posted on: 9/17/2009 9:43:26 AM | Views : 428

 Hello,
I have a asp.net site that uses forms authentication. I have a form called personal.aspx that I'd like to get the userid that was authenticated in a login.aspx via a sql database into a field on that form so that I could save it along with other changes. The login.aspx does this when a user authenticates successfully back to the personal.aspx.
FormsAuthentication
 .RedirectFromLoginPage(txtUname.Text, chkRemember.Checked);
I will need to save the values from the personal.aspx (userid, filename, description, datetime) into a database but I can't seem to figure how I could get the userid that was validated from login.aspx.
Please advise. Amy


 
...

Go to the complete details ...