Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello Everyone,
How can i make a 'Log Off' button for my ajax web project?
The aim is to allow the server to release some of the memory it used for a user, without having to wait for the user time out period.
I'm not sure this is possible, but you never know....
Thanks,
Peter.
I've had some confirmation about this...
"Unfortunately, there is no way to force a log off via Ajax at present. It is something that has been discussed but I am not aware of any firm plans to implement it"
Can't test it right now, but try with a button with Action => External => Close this Document.
Rgds,
Joachim
Hello,
I've just given that a quick test and no luck sorry!
I'm using the Ajax web client.
Thanks,
Peter.
I see, just tried it myself. Another idea would have been to open the URL "about:blank", but it's being opened in a new window, so unfortunately doesn't work either. I'll try to think about a macro doing the job.
Rgds,
Joachim
I've had some confirmation about this...
"Unfortunately, there is no way to force a log off via Ajax at present. It is something that has been discussed but I am not aware of any firm plans to implement it"
What about a macro that closes the IE browser?
Well, I've tried that (macro to close IE) but I don't think that you can get hold of the browser object from within the QV-application (perhaps you can but I didn't succeed). Nevertheless, I gave up when realizing the matter is more or less of acedemic interest. The users simply could close the browser window or the tab by themselves. If they know that it could be an issue they should care about exiting an application when done. If they DON'T care, I doubt that you will make them press the "logoff"-button.
Rgds,
Joachim
I've used a few methods as follows :
If you launch your zerofootprint in a barnd new window ( ie new browser window)
Directly edit the default.htm file created by the zerofootprint and add an button that closes the browser window labeling the button logout instead of close. (simple javascript)
Although basically to logout the user has to close down the browser.
Maybe a simply ALT F4 macro might work.
It appears an unfortunate side effect of this "no close" in ZFC is it's impossible for a user to explicitly release a session CAL. The CAL won't be released until the idle timeout is released.
-Rob
Yikes. From a different angle, how does one close any document in a client and return to AccessPoint?
In Java, close document does nothing. In IE plugin the document closes to leave a blank screen. In ZFC, again nothing happens.
It is extremely clumsy for users to have to close the browser tab or window every time.