I have problems with Session Time-out
-
Hi, I have problems with Session Time-out. I need my Session to stay for more than an hour. For that, I have done the below things. a) I have specified the timeout as 60 in the web.config of my application as below: b) In IIS, web-site's configuration settings also I have changed to 60 minutes. c) Though its not required, I have also changed the timeout to 60 in machine.config as below: Even though some times the session time-out is after 25 – 30 minutes and sometimes the session time-out was after more than 54 minutes. Can any one give me any explanation for this unpredictable behaviour? How to re-solve this type of situation. I dont want to change the sessionstate's mode other than In-proc. Please help me in this regard.
Satyendra
-
Hi, I have problems with Session Time-out. I need my Session to stay for more than an hour. For that, I have done the below things. a) I have specified the timeout as 60 in the web.config of my application as below: b) In IIS, web-site's configuration settings also I have changed to 60 minutes. c) Though its not required, I have also changed the timeout to 60 in machine.config as below: Even though some times the session time-out is after 25 – 30 minutes and sometimes the session time-out was after more than 54 minutes. Can any one give me any explanation for this unpredictable behaviour? How to re-solve this type of situation. I dont want to change the sessionstate's mode other than In-proc. Please help me in this regard.
Satyendra
-
Hi, I have problems with Session Time-out. I need my Session to stay for more than an hour. For that, I have done the below things. a) I have specified the timeout as 60 in the web.config of my application as below: b) In IIS, web-site's configuration settings also I have changed to 60 minutes. c) Though its not required, I have also changed the timeout to 60 in machine.config as below: Even though some times the session time-out is after 25 – 30 minutes and sometimes the session time-out was after more than 54 minutes. Can any one give me any explanation for this unpredictable behaviour? How to re-solve this type of situation. I dont want to change the sessionstate's mode other than In-proc. Please help me in this regard.
Satyendra
You can set session time out in web.config file where you are defining connection string.