Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

ASP.NET Forum


You are currently viewing our ASP.NET Forum as a guest. Please register to participate.
Login



Reply
ASP.NET - Getting username of logged in user
Old 03-08-2005, 08:52 AM ASP.NET - Getting username of logged in user
Minaki's Avatar
Defies a Status

Posts: 1,626
Location: Guildford, UK
Trades: 0
I was just reviewing my code and realised that it wasn't very secure... at login, the user ID is saved into a cookie and that ID is used on subsequent pages to identify the user (i.e. on the View/Modify my Details page). OK so I coded that late last night and wasn't thinking straight!

I was considering using a session variable - but if the user clicks the Remember Me check box and makes the authentication cookie presistant, the session variable won't be there next time they come back.

How do I go about doing this properly? (p.s. I'm using Forms authentication)

- Mina
__________________
Minaki Serinde MCP
"Wow, Linux is nearly on-par with Windows ME!"

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
Minaki is offline
Reply With Quote
View Public Profile Visit Minaki's homepage!
 
 
Register now for full access!
Reply     « Reply to ASP.NET - Getting username of logged in user
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.07564 seconds with 12 queries