Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
thiago_miranda
Contributor II
Contributor II

Close App connections

Hello,

i developed an app with a section access and published on our QAP server.

After i run a reload task i need to close all clients sessions for this app. That's because of the following post: https://community.qlik.com/t5/QlikView-Scripting/Section-access-doesn-t-work-after-reload-data/td-p/...

So i need to force all users to reopen my app, enforcing data reduction.

Thanks.

 

Labels (2)
1 Solution

Accepted Solutions
thiago_miranda
Contributor II
Contributor II
Author

I found a solution:

requesting QPS API endpoint: GET /qps/{virtual_proxy}/session returns all users sessions. After that i choose sessions to delete using: DELETE /qps/{virtual_proxy}/session/SessionId.

After deleting the session the user is forced to reconnect to the app.

Thiago

View solution in original post

3 Replies
Anil_Babu_Samineni

As far I know, This can not modified in QMC. So, I couldn't think it.

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
thiago_miranda
Contributor II
Contributor II
Author

If i restart the virtual proxy all sessions are closed?

If so, there is an API to restart the virtual proxy?

thiago_miranda
Contributor II
Contributor II
Author

I found a solution:

requesting QPS API endpoint: GET /qps/{virtual_proxy}/session returns all users sessions. After that i choose sessions to delete using: DELETE /qps/{virtual_proxy}/session/SessionId.

After deleting the session the user is forced to reconnect to the app.

Thiago