turnitup wrote on 30 aug 2006 in comp.lang.javascript
:
>What is "logged out browsers"??
What I mean is redirected to a logout page. I should have been
clearer.
>>
Is being logged in not a serverside session thing?
Yes, by being redirected to a logout page!
Why would you want to do that?
Surely if the user is not using the window for an extended time,
he/she probably will not see the logout page?
It should be much simpler to serverside transfer to the login page,
If the session has timed out serverside and the user tries to do an
action from the last page he was on?
What is the functionality of a "logout page"?
Saying "You are logged out"?
>>But I
have a "sovereign" application written using AJAX which does not
require a page refresh, but should continue to behave as though it
had been refreshed.
Show us code, if you wish to discuss it.
There are lots of events which talk via an Ajax library to the server.
Yes, however you were talking about your application.
So you want, I presume, have Ajax ask the server at certain intervals if
the session still exists, and if not, change the page to a page saying
"You are logged out" without redirecting to it?
That seems not that difficult.
Is it useful?
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)