...

View Full Version : Need Help on Session Timeout (JavaScript)



asuhoy
12-29-2003, 04:36 PM
Hi,

I've created a Timeout Alert function that appears 5 minutes before the session ID times out.

However, this is a client-side scripting and when a user presses a BACK button, the page is not always retrieved from the server.
This lead to a problem: how can I get a contact with a server using JavaScript?

Sasha

A1ien51
12-29-2003, 07:25 PM
JavaScript can not contact the server. What you need to do is to make sure that page gets reloaded so it has to "hit" the server.

You can try to do it with no cache Meta tags



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum