Last post Jan 25, 2018 08:55 AM by Cathy Zou
Jan 24, 2018 07:58 AM|DDNaidu|LINK
How to solve session logout automatically issue in asp.net..? How to increase session time in asp.net C#..?
I'm using ASP.net 4.0 and C# web forms..!!
I write code on below logout button but when session logout automatically that code is not firing so how to solve this..? how to find session event and write same code on session event..?
Hope you understand this Question.
Jan 25, 2018 08:55 AM|Cathy Zou|LINK
To resolve this issue, we’ll need to automatically refresh a web page in the application in order to create a postback. This can be done with a meta-refresh tag. Of course, to keep the web page from refreshing constantly, we’ll place the refresh inside a
tiny IFRAME. The IFRAME itself, will run on the server and change a querystring parameter to avoid any browser caching of the page. This ensures the page is always loaded upon refresh.
Preventing Session Timeouts in C# ASP .NET Web Applications
Or refer to the link below: