Re: Proper session timeout

From: Daniel Ansari (dansari_at_nospam.rogersdotcom.com)
Date: 12/23/04


Date: Wed, 22 Dec 2004 23:25:43 -0500

The <forms> element in <authentication> section has a timeout attribute -
this is actually the timeout for the authentication ticket, and it sounds
like this is the one you've got set.

The session has a separate timeout specified in the <sessionState> element
in <system.web>.

This thing had me stumped for a long time.

Regards,
Daniel

"No One" <noone@yahoo.com> wrote in message
news:41CA43CE.92235B0F@yahoo.com...
> I have a web app that uses forms authentication. When sessions timeout,
> the user is not automatically redirected to the login page. Instead,
> they see an error message about object references not being set. These
> errors occur in the C# code behind. I also have to manually redirect
> users that are not logged in. Does ASP.Net support sessions properly
> out of the box (I have the web.config set to use forms authentication)
> or do I have to role my own Session checking scheme to get users to the
> login page?
>



Relevant Pages

  • Re: Authentication question
    ... I also found the settings and chose to set a sliding timeout for the ... complained about having to login when I knew their session had not expired. ... > The session timeout and forms authentication cookie timeout are ... > authentication cookie but all of the inproc session state is gone. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Cannot set timeout with asp.net 1.1 over than 20 minutes
    ... There's lots of background info on forms authentication parameters at: ... Session timeout and forms authentication timeout are two different things. ... button to make a postback. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Authentication question
    ... The session timeout and forms authentication cookie timeout are ... authentication cookie but all of the inproc session state is gone. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Timeout User Session
    ... We are using Windows Sharepoint Services sites and OWA ... > The sharepoint Timeout Settings are set to timeout after 30 minutes, ... > I have retained a session overnight and longer. ... That's because Authentication does not time out (and it's not at all related ...
    (microsoft.public.inetserver.iis)
  • RE: RWW vbscript: remote desktop disconnected
    ... properties of the remote virtual web setting was set to 120 but unchecked. ... Please check the RWW timeout settings at: ... Please check ASP session timeout configuration,perform the following ... the error message "An Internal Error ...
    (microsoft.public.windows.server.sbs)