session timeout problem

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
 
B

bruce barker

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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top