Session continues after the Session times out
-
Hi, I have developed a web application and have set session timeout to 20 min. Now here is the problem, I open a web page and does not take any action on it for about 1 hr.After 1 hr I take a action on that page and application handles it.I face this problem for few pages in application. I am not able to get why this problem occurs. Thanks
-
Hi, I have developed a web application and have set session timeout to 20 min. Now here is the problem, I open a web page and does not take any action on it for about 1 hr.After 1 hr I take a action on that page and application handles it.I face this problem for few pages in application. I am not able to get why this problem occurs. Thanks
-
Hi, I have developed a web application and have set session timeout to 20 min. Now here is the problem, I open a web page and does not take any action on it for about 1 hr.After 1 hr I take a action on that page and application handles it.I face this problem for few pages in application. I am not able to get why this problem occurs. Thanks
It is likely that a new session is being created when you hit the page after the 20min time out and its being posted back. Place this at the top of your Load.Page or place other code in your Global.aspx Session Start. Note: Session End will not effect client page view. if (Session.IsNewSession) { // New Session // Take your pick Server.Transfer("Default.aspx"); Response.Redirect("Default.aspx"); } Look where you want to go not where you don't want to crash. Bikers Bible -- modified at 6:44 Tuesday 25th April, 2006