-
storing username
Hello,
Okay, I have a logon page that takes the values entered from the username and password textboxes and compares against database table.
If all checks out ok and they are in the system. I can I then store the username into a variable that can be reused later within the application.
I am using form authenication using the web config file. I used to just use session variables in old asp.
But want to know how to do it the best way.
Any help would be great.
Thanks
Kenny
-
There are lots of ways to do it. I would suggest using cookies and just encrypt the data inside the cookie. The encryption will add some security so users cannot just spoof a login.
Hope this helps,
-
Thanks
Thanks,
I ended up figuring it out.
Thanks
Kenny