my requirement is that can we code in such a way that there will be no timeout unless n until we logout....
in my project client needs that they will have ideal time but after that much time too they should not redirect to login page, they want it as unlimited session or 8 to 9 hours.
If user has logged in and opened any page in my website and does nothing for 20 mins. Now if he selects any thing from menu or clicks any button he is redirected to login page.
I can't change the time-out settings for the IIS application pool.
I tried following ways 1. i have wrote in config file as
<sessionState cookieless="false" regenerateExpiredSessionId="true" timeout="129600" />
3. i also tried in Global.asax file protected void Session_Start(object sender, EventArgs e) { Session.Timeout = 480; }
None of the above worked for me.