Re: Authentication question
From: Joe Fallon (jfallon1_at_nospamtwcny.rr.com)
Date: 02/15/05
- Next message: Juan T. Llibre: "Re: Response.Redirect in Application_Start & Session_Start"
- Previous message: Rob: "Re: Alternating Item Style in a ListBox"
- In reply to: Scott Allen: "Re: Authentication question"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 14 Feb 2005 19:09:53 -0500
Yes.
I also found the settings (RTM) and chose to set a sliding timeout for the
cookie.
I just didn't know it existed. So I wasn't aware of why some testers
complained about having to login when I knew their session had not expired.
Much better now.
Thanks!
-- Joe Fallon "Scott Allen" <scott@nospam.odetocode.com> wrote in message news:cag111h0em7c7dqo3pg18oqo7doe80k47m@4ax.com... > Hi Joe: > > The session timeout and forms authentication cookie timeout are > independent, as you pointed out. The user could sit idle for 25 > minutes and have the session timeout but still have a good cookie and > be authenticated. > > You could synchronize the two to use the same timeout value, but I > would not assume that a user with a session is authenticated, or that > an authenticated user has a session. For example you can imagine the > user logging in then the application restarting (perhaps because > web.config was touched). The user would still have a good > authentication cookie but all of the inproc session state is gone. > > Helpful? > > -- > Scott > http://www.OdeToCode.com/blogs/scott/ > > > On Mon, 14 Feb 2005 09:59:46 -0500, "Joe Fallon" > <jfallon1@nospamtwcny.rr.com> wrote: > >>I use Forms authentication and State Server and Cookies are enabled. >> >>Is this correct? >> >>If the session is set to timeout in 20 minutes that means that if there is >>no activity for 20 minutes then the session will expire and the user will >>have to log in again. But if they request pages then the 20 minute period >>re-starts after >>each page is requested. >> >>If the user is active for 20 minutes and then is idle for the next 15 the >>session has not timed out and they should not have to log in again. >> >>But does the authentication ticket in the cookie expire in 30 minutes? >> >>If so, does THAT force a log in again? >> >>What is the "best" way to coordinate these 2 to minimize the amount of >>re-logging in >>and yet maintaining some basic level of security? >> >>Thanks! >
- Next message: Juan T. Llibre: "Re: Response.Redirect in Application_Start & Session_Start"
- Previous message: Rob: "Re: Alternating Item Style in a ListBox"
- In reply to: Scott Allen: "Re: Authentication question"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|