ASP.NET Session TimeOut problem

  • Thread starter Thread starter Rajesh.jain25
  • Start date Start date
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??
 
this is a bug, if you try to set the timeout, anywhere other than
session_start, it kills the session
 
Back
Top