Skip to main content
Announcements
Happy New Year! Cheers to another year of collaboration, connections and success.
cancel
Showing results for 
Search instead for 
Did you mean: 
muhammedraleen
Partner - Creator
Partner - Creator

Destroy X-Qlik-Session cookie onclick of Logout button

Hi All,

Please let me know if anyone can sort out on below mentioned issue.

I logged in to Qlik Sense from any browser outside the server, then if click on the logout button and again click on the login button. It automatically gets the first-time logged user credentials. Issue here is Qlik uses X-Qlik-Session cookie on the browser, it only gets expired when the browser is closed. Is there an alternate way when I click on the logout button, the X-Qlik-Session cookie should get destroyed or expired.

Labels (5)
4 Replies
Ray_Strother
Support
Support

Hello ,
Please review the following timeout setting to see if adjusting them will get you the behavior you want.

1. Qlik Sense Session Inactivity Timeout and Keep Alive settings

https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-Session-Inactivity-Timeout-and-Ke...
Damien_V
Support
Support

Hello @muhammedraleen 

Are you using the default Windows authentication ?

If it's Windows authentication, then this behavior is working as designed.

The cookie is destroyed when you click the logout button, but a new one will be created automatically as the browser stores the Windows credentials and automatically logs you back in.

You would need to use another type of authentication (such as SAML with single logout enabled) if you need to get logged out completely without having to close the browser.

Best regards,

If the issue is solved please mark the answer with Accept as Solution.
muhammedraleen
Partner - Creator
Partner - Creator
Author

Hi @Damien_V ,

Yes I'm using default windows authentication. Can you please guide me on the steps to change the type of authentication...? 

I need get logged out completely without having to close the browser. That's what the client is frequently asking for...

Damien_V
Support
Support

Hello @muhammedraleen 
This should get you started on setting up SAML 

https://help.qlik.com/en-US/sense-admin/May2022/Subsystems/DeployAdministerQSE/Content/Sense_DeployA...

 

If the issue is solved please mark the answer with Accept as Solution.