Qlik Community

QlikView Management

Discussion Board for collaboration on QlikView Management.

Partner
Partner

Web user log off

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.

1 Solution

Accepted Solutions
Highlighted
Partner
Partner

AW:Re: AW:Web user log off

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"

View solution in original post

9 Replies
Highlighted
biester
Valued Contributor

AW:Web user log off

Can't test it right now, but try with a button with Action => External => Close this Document.

Rgds,
Joachim

Highlighted
Partner
Partner

AW:Web user log off

Hello,

I've just given that a quick test and no luck sorry!
I'm using the Ajax web client.

Thanks,
Peter.

Highlighted
biester
Valued Contributor

AW:Re: AW:Web user log off

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

Highlighted
Partner
Partner

AW:Re: AW:Web user log off

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"

View solution in original post

Highlighted
Not applicable

Web user log off

What about a macro that closes the IE browser?

Highlighted
biester
Valued Contributor

Web user log off

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

Highlighted
Not applicable

Web user log off

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.

Highlighted
MVP & Luminary
MVP & Luminary

Web user log off

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

Highlighted
Not applicable

Web user log off

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.