Session lost for HTTPS pages
ASP.NET
1
Posts
1
Posters
0
Views
1
Watching
-
I have some pages that require authentication. I access these pages using HTTPS... I have set my session timeout to 60 minutes: However, the system is very unreliable. Sometimes, I get logged out of secure pages after 5, 10 or 15 minutes on inactivity. Would be grateful if someone could inform why the system logs me out after inactivity which is less than 60 minutes. P.S In my code-behind page, I use: private void Page_Load(object sender, System.EventArgs e) { //if not authenticated if (!Context.User.Identity.IsAuthenticated) { Response.Redirect("...."); } } So actually I never use the login page as specified in the web.config file