Re: Proper session timeout
From: Daniel Ansari (dansari_at_nospam.rogersdotcom.com)
Date: 12/23/04
- Next message: No One: "Re: onclick event not firing"
- Previous message: Patrick Olurotimi Ige: "Re: Proper session timeout"
- In reply to: No One: "Proper session timeout"
- Next in thread: No One: "Re: Proper session timeout"
- Reply: No One: "Re: Proper session timeout"
- Messages sorted by: [ date ] [ thread ]
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?
>
- Next message: No One: "Re: onclick event not firing"
- Previous message: Patrick Olurotimi Ige: "Re: Proper session timeout"
- In reply to: No One: "Proper session timeout"
- Next in thread: No One: "Re: Proper session timeout"
- Reply: No One: "Re: Proper session timeout"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|