[thelist] In ASP, getting remaining time left in session.timeout
Martin Burns
martin at easyweb.co.uk
Tue Jul 2 08:54:00 CDT 2002
On Tuesday, July 2, 2002, at 02:43 pm, Craig wrote:
> Hi. I've had a bit of a look around for a way with ASP to get the
> remaining
> time left in session.timeout and haven't found much. For example if I
> set
> session.timeout=10 (for 10 minutes), 5 minutes later I would like to
> see on
> my page that only 5 minutes are left.
>
> I would prefer not to use JavaScript to count it down, because the user
> might be going to different pages on the site in the same session.
>
> I can write the time to a session cookie and then with every page
> refresh
> try to compare the time in the session cookie to now(), but I'm not
> sure how
> to write that (the comparing the time part).
Hi Craig
IIRC you can use Javascript as well as VBScript to write server-side ASP.
If that's true, and you can write the JS, then it sounds like you're
set..
Cheers
Martin
_______________________________________________
email: martin at easyweb.co.uk PGP ID: 0xA835CCCB
martin at members.evolt.org snailmail: 30 Shandon Place
tel: +44 (0)774 063 9985 Edinburgh,
url: http://www.easyweb.co.uk Scotland
More information about the thelist
mailing list