Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
mhouck01
Contributor III
Contributor III

Disabling Session Recovery on Task Refresh

Users want the ability to recover their sessions after a timeout, but they want to come in each morning to a fresh version of the application. Is there any way, after enabling session recovery, to clear the session recovery after the qvw is republished to the server?

If that's not possible via QMC settings... is the session recovery data stored in a file somewhere that we could set up a batch to delete every morning?

1 Solution

Accepted Solutions
Bill_Britt
Former Employee
Former Employee

Hi,

Session recovery information is kept in the .share file.

Bill

Bill - Principal Technical Support Engineer at Qlik
To help users find verified answers, please don't forget to use the "Accept as Solution" button on any posts that helped you resolve your problem or question.

View solution in original post

10 Replies
ramoncova06
Specialist III
Specialist III

how often do you refresh your documents?

If I remember correctly once a document is reloaded and distributed back into the server the previous filters from session recovery are lost

mhouck01
Contributor III
Contributor III
Author

We're refreshing once a day. I will have to double-check this behavior on the server, as users were complaining that their filters were saved even after the document refresh. If they're mistaken, then the default behavior may be exactly what we want and they were just confused...

Thanks for the info... I will check into this more on Monday.

Bill_Britt
Former Employee
Former Employee

Hi Michael,

Session recovery should hold the users settings even after a reload. Unless the data model had been changed by a developer.

Bill

Bill - Principal Technical Support Engineer at Qlik
To help users find verified answers, please don't forget to use the "Accept as Solution" button on any posts that helped you resolve your problem or question.
mhouck01
Contributor III
Contributor III
Author

Yes, you're right. I tested it this morning and the session recovery stays after the document reload. Now that's confirmed, is there any way to purge the session recovery information after a document reload?

Again, the users want to be able to recover during the day, but the next day, when the document has new information, they would like any saved session information to be cleared out and start fresh.

Bill_Britt
Former Employee
Former Employee

Hi,

No, there is no way to do this.

Bill

Bill - Principal Technical Support Engineer at Qlik
To help users find verified answers, please don't forget to use the "Accept as Solution" button on any posts that helped you resolve your problem or question.
mhouck01
Contributor III
Contributor III
Author

Is the session recovery data stored someplace on the drive in a specific file that could be deleted or truncated in some way? So I could script something to clear out those files to clear the session information?

Bill_Britt
Former Employee
Former Employee

Hi,

Session recovery information is kept in the .share file.

Bill

Bill - Principal Technical Support Engineer at Qlik
To help users find verified answers, please don't forget to use the "Accept as Solution" button on any posts that helped you resolve your problem or question.
Not applicable

Hi Michael,

maybe you could schedule a service restart overnight? That will remove all documents from the QVS memory and should reset the recoverable sessions, as the document will need to load again on your next daily reload task.

Hope that helps

Joe

Bill_Britt
Former Employee
Former Employee

Hi Joseph,

That will not work, because the session recovery information is stored in the .share file.

Bill

Bill - Principal Technical Support Engineer at Qlik
To help users find verified answers, please don't forget to use the "Accept as Solution" button on any posts that helped you resolve your problem or question.