get returning user for forms auth?
Hi. I have the following scenario; user logs in using standard login
control for forms auth, I validate his credentials against the
database, optionally make the cookie persistent and then set some
application-specific session variables for that user.
Now, when the user closes the browser and returns to the site again
the next day, he will be authenticated if he had logged in previously
w/the checkbox check.
The problem is, I need to initialize the session variables for that
user again when he reenters the site; I pondered checking auth cookie
manually, decrypting the ticket and getting username etc; however that
doesn't seem right. How do I find out that authenticated user is re-
entering the site (in Session_Start event I guess)?
.
Relevant Pages
- Re: get returning user for forms auth?
... optionally make the cookie persistent and then set some ... application-specific session variables for that user. ... user again when he reenters the site; I pondered checking auth cookie ... How do I find out that authenticated user is re- ... (microsoft.public.dotnet.framework.aspnet.security) - Re: FormsAuthentication - Changes in .Net Framework 1.1 ?
... Set up an auth page in each project and use forms auth on a project by ... What we have found is the cookie name keys the forms auth in a single domain ... the Login-Mechanism an the redirect works fine. ... > Login-Project: ... (microsoft.public.dotnet.framework.aspnet.security) - Re: FormsAuthentication cookie refreshing
... Without altering the forms auth model, it only extends time when a page is ... you will have to refresh an actual page. ... I am trying to refresh the cookie to make sure the timeout is reset by ... understand how XMLHTTPRequest really works at all! ... (microsoft.public.dotnet.framework.aspnet) - Re: FormsAuthentication cookie refreshing
... 'Without altering the forms auth model, it only extends time when a page is ... how is using xmlhttp to hit the aspx page different to using a normal ... at which point the cookie may have expired. ... you will have to refresh an actual page. ... (microsoft.public.dotnet.framework.aspnet) - Re: SSL
... Let's assume I'm using SSL. ... > authenticated user sitting at their client browser to modify their clear ... cookie would be alarming as they are undoubtedly aware of their own social ... browsers as Mozilla and having such cookie alert setting turned on. ... (microsoft.public.dotnet.framework.aspnet) |
|