session timeout problem

  • Thread starter Thread starter Oliver Jentsch
  • Start date Start date
O

Oliver Jentsch

My session is always 20 minutes.

I tried to change it in the Web.Config, but the session remains to 20
minutes.

My Web.Config ist

<sessionState mode="InProc"
cookieless="false"
timeout="80"
/>

I guess the ASP.NET State Service (it ist started) is responsible for the
Sessíon State.

When I try to check the session with: Response.Write(Session.Timeout). The
result is 80 minutes.
But after 20 minutes it's all over.

I tried to exceed the session with session.tiemout to 80 minutes. No
success.

I use ASP.NET 1.

Anyone with an idea.
Thanks,
Oliver
 
normally asp.net times after so much idle. as you are using inproc
sessions thy are lost whenever asp.net recycles. check the event log for
a recycle message. you can change this timeout in the machine config.

note: you should not use inproc sessions unless you can fully recover
from a lost session, as any recycle cause all session data to be lost.

-- bruce (sqlwork.com)
 
Back
Top