CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 User closes window -> force logout

Print topic Send  topic

Author Message
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)
View profile  Send private message
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)
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.