The users login to my ASP.NET website from a safe location (office) and they want to remain logged in for the duration of work-day. For various reasons, keeping users logged in using persistent cookies is not a good solution. Instead, I would like to have user browser poll the web-server at regular intervals, say every 3 minutes, and thus prevent log-outs.
There are two possible approaches:
1) produce a browser side code, a universal add-on, similar to a solution of www.stay-logged-in.com
2) produce a server side code, which would keep the client connected.
I prefer not to mess-around with the users's browser, plus the solution should be browser independent, so Approach 2 is preferred. But any good solution would be appreciated.
Any suggestions how to do this? Any code? Thank you very much.