ASP.NET Session TimeOut problem

R

Rajesh.jain25

Hi,
I am facing a problem of automatic session timeout problem and
automatic session_end event fired.


Case1: As I have analyzed I get to know that the default session
timeout is 20 in web.config, If I reassign the session timeout at
login page other than the time which is defined at web.config(20 Min.)
then automatic session_end (in global.aspx.cs) event fired.
Why automatic this event is fired??


Case2: If I remove session timeout from Web.config, Machine.config ,
IIS (Enabled Session outTime) , then by default it takes 20 Min. , If I

Reassign at loginPage the session timeout rather than 20 min. , then
Session_End event fired.


From where it taking 20Min. default and why Automatic session_end event


calling??
 
G

Guest

this is a bug, if you try to set the timeout, anywhere other than
session_start, it kills the session
 

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

Top