Re: Session Timeout Problem



I've goolged and looked everywhere I can and I can't find anything on
"recycling threshold settings" in IIS. My original question at the
beginning of this thread stands.

--
Regards,
Gary Blakely
"Juan T. Llibre" <nomailreplies@xxxxxxxxxxx> wrote in message
news:OOIkr6%23oHHA.3772@xxxxxxxxxxxxxxxxxxxxxxx
If you have set all the timeouts to 40, and the app is still losing the
session variables
at 20, then either the app is recycling at 20 or the application pool is
recycling at 20.

Have you attempted to set a different recycling threshold in the IIS
Manager ?

Also, have you tried to use State Server, instead of InProc ?

State Server, as does SQL Server, gets around the loss of
session variables due to Application/App Pool recycling.




Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"GaryDean" <GaryDean@xxxxxxxxxxxxxxxxx> wrote in message
news:ebilfd%23oHHA.3252@xxxxxxxxxxxxxxxxxxxxxxx
I believe that timeout default is 30, but yes I also set the Forms
Authentication timout to 40.

--
Regards,
Gary Blakely
"Juan T. Llibre" <nomailreplies@xxxxxxxxxxx> wrote in message
news:%23kALHa6oHHA.716@xxxxxxxxxxxxxxxxxxxxxxx
re:
!> every conceivable setting I know of says
!> 40 minutes but the application timesout after 20 minutes.

Including the Forms Authentication timeout ( if you're using that ? ).
*That* defaults to 20 minutes, too.



Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"GaryDean" <GaryDean@xxxxxxxxxxxxxxxxx> wrote in message
news:O$Ty6z5oHHA.4632@xxxxxxxxxxxxxxxxxxxxxxx
Steven,
you ask "what's the actual session mode you use now" not sure I
understand your question. In my original post I stated the session
settings in my web.config and the setting is IIS. every conceivable
setting I know of says 40 minutes but the application timesout after 20
minutes.

--
Regards,
Gary Blakely
"Steven Cheng[MSFT]" <stcheng@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:MZ4C1f2oHHA.5420@xxxxxxxxxxxxxxxxxxxxxxxxx
Hi Gary,

As you mentioned that you've used three session setting, then what's
the
actual session mode you use now, inproc one? I suggeset you create a
simplified application and use inproc session to verify the behavior.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


This posting is provided "AS IS" with no warranties, and confers no
rights.











.



Relevant Pages

  • Re: Recycled Application Pool
    ... There's different ways to manage IIS 5 and IIS 6. ... recycling settings, to see if anything rings a bell. ... If you need to persist your session values, ... IIS's State Server or with SQL Server. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: IIS 6.0 Session expired with the following simple ASP lines?!?
    ... the session expires before the defined timeout if ... the application pool is recycling. ... I use this code to determine if the application is recycling: ... oh, btw, session and cookies are not the perfect way to work, write your own ...
    (microsoft.public.inetserver.iis)
  • Re: Timeout period not seeming to work correctly
    ... > for recycling the ASP.NET worker process. ... > restarts, causing the loss of all your session variables, ... > if you're using InProc state management. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Live multi-user debugging? Help!
    ... Memory recycling: well, if it comes to that, either add more RAM or find the ... session state (if so, look out for the session state timeout for the web ... have another one going so that people can still use the web site. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Live multi-user debugging? Help!
    ... Memory recycling: well, if it comes to that, either add more RAM or find the ... session state (if so, look out for the session state timeout for the web ... have another one going so that people can still use the web site. ...
    (microsoft.public.dotnet.languages.vb)

Loading