Re: Proper session timeout
From: No One (noone_at_yahoo.com)
Date: 12/23/04
- Next message: Hans Kesting: "Re: Static class in an asp.net application."
- Previous message: Curt_C [MVP]: "Re: is it possible to access outlook expres"
- In reply to: Daniel Ansari: "Re: Proper session timeout"
- Next in thread: Daniel Ansari: "Re: Proper session timeout"
- Reply: Daniel Ansari: "Re: Proper session timeout"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 23 Dec 2004 14:24:09 GMT
I have that too.
<sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424"
sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes"
cookieless="false" timeout="20"/>
Daniel Ansari wrote:
> 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: Hans Kesting: "Re: Static class in an asp.net application."
- Previous message: Curt_C [MVP]: "Re: is it possible to access outlook expres"
- In reply to: Daniel Ansari: "Re: Proper session timeout"
- Next in thread: Daniel Ansari: "Re: Proper session timeout"
- Reply: Daniel Ansari: "Re: Proper session timeout"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|