Qlik Community

Qlik Sense App Development

Discussion board where members can learn more about Qlik Sense App Development and Usage.

Highlighted
thiago_miranda
New 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.

 

1 Solution

Accepted Solutions
thiago_miranda
New Contributor II

Re: Close App connections

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

3 Replies

Re: Close App connections

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

Before develop something, think If placed (The Right information | To the right people | At the Right time | In the Right place | With the Right context)
thiago_miranda
New Contributor II

Re: Close App connections

If i restart the virtual proxy all sessions are closed?

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

thiago_miranda
New Contributor II

Re: Close App connections

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