Qlik Community

QlikView Management

Discussion Board for collaboration on QlikView Management.

mhouck01
New 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?

Tags (1)
1 Solution

Accepted Solutions
Employee
Employee

Re: Disabling Session Recovery on Task Refresh

Hi,

Session recovery information is kept in the .share file.

Bill

10 Replies
ramoncova06
Valued Contributor III

Re: Disabling Session Recovery on Task Refresh

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
New Contributor III

Re: Disabling Session Recovery on Task Refresh

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.

Employee
Employee

Re: Disabling Session Recovery on Task Refresh

Hi Michael,

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

Bill

mhouck01
New Contributor III

Re: Disabling Session Recovery on Task Refresh

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.

Employee
Employee

Re: Disabling Session Recovery on Task Refresh

Hi,

No, there is no way to do this.

Bill

mhouck01
New Contributor III

Re: Disabling Session Recovery on Task Refresh

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?

Employee
Employee

Re: Disabling Session Recovery on Task Refresh

Hi,

Session recovery information is kept in the .share file.

Bill

Not applicable

Re: Disabling Session Recovery on Task Refresh

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

Employee
Employee

Re: Disabling Session Recovery on Task Refresh

Hi Joseph,

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

Bill

Community Browser