DonWolli
Posts: 93
|
| Posted: 07/31/2009, 3:14 AM |
|
If a logged-in user closes the application window i want to log him OUT.
It already works fine with some lines of JS and the "beforeunload" Event.
What i DONT want is a Logout in case the user clicks a direct (a href) or indirect link (via JS).
In the included menu i do that setting a variable exit to false.
Of course i could do that everywhere in my project ... about 50 programs should be modified ...
Because the project is NEARLY ready and i dont like to modify this horrible amount of code
i woud prefer a more "sophisticated" solution.
The question is:
Does anybody know a more comfortable way to do this job?
Is it possible to modify a CCS file to add to every submit a "exit=false;" statement to make the solution a central and 1 or 1 line one.
BTW: each program contains included header and footer , except the popups.
Regards
Wolfgang
_________________
You may say I'm a dreamer, but I'm not the only one.(J.Lennon) |
 |
 |
DonWolli
Posts: 93
|
| Posted: 07/31/2009, 7:28 AM |
|
EDIT:
Is it possible to modify a CCS file to add AUTOMATICALLY to every submit a "exit=false;" statement to make the solution a central and 1 or 2 line of codes one.
_________________
You may say I'm a dreamer, but I'm not the only one.(J.Lennon) |
 |
 |
|