|
-
Nov 21st, 2002, 12:00 PM
#1
Thread Starter
Lively Member
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
-
Nov 21st, 2002, 02:56 PM
#2
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,
-
Nov 22nd, 2002, 04:00 PM
#3
Thread Starter
Lively Member
Thanks
Thanks,
I ended up figuring it out.
Thanks
Kenny
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|