"UJ" <(E-Mail Removed)> wrote in
news:eVDZ#(E-Mail Removed):
> How do you detect when your session is going to timeout and display a
> message saying 'unless you do something you will be logged out' much
> the way bank web pages do?
>
You could put a javascript timer on the page to detect idleness.
Or if you're using SQL server as your state server, you could poll a web
service using client javascript to get a more accurate time. Just make sure
the web service is running under a different app than your ASP.NET
application, otherwise the session timer will get reset on each request.
--
Lucas Tam ((E-Mail Removed))
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/