When enabling Session Recovery the current selection state for each user are saved in the Shared file as a bookmark named LASTKNOWNSTATE when a session ends. It then re-applies the selection state the next time that the same user reconnects to the same document.
Note! Session recovery affects all users and documents on a server.
A LASTKNOWNSTATE bookmark can become a HUGE object, in terms of size, in the shared file. This because of "Including objectLayout" and "IncludeInputField", or because the LASTKNOWSTATE bookmark is created when the user's document state has many items selected.
LASTKNOWNSTATE bookmarks are not a temporary bookmark but it has in common with temporary bookmarks that is created by the QVS and the properties of the bookmark are set by default, as well. The properties, set by default, when creating LASTKNOWNSTATE bookmarks are the following:Please, note that these 7 properties correspond to the 7 checkboxes you see, in the creating bookmark dialog, when adding a new bookmark.
This means that the Layout State and the InputFieldValues (if the document comes with any) will be included in the content of the bookmark. As a consequence, the size of the bookmark object will be bigger and unfortunately, sometimes much bigger.There is no limit set for the maximum number of items selected on one document before the user is about to create a new bookmark. But what has been observed is that the Powertool Sharedfile viewer, sometimes, is not able to load more than 32767 values. That effects on the visibility of the content of the objects for the users but in the sharedfile all the selections should have been stored successfully.These large shared file objects can affect the performance when a user is opening the application through Accesspoint. A consequence can be that the open of a document may timeout
Ensuring stability and consistency of the shared files, implemented from version 11.2 SR4, also have an affect on the performance opening a document.
If the shared file contains large LASTKNOWSTATE bookmark objects the resolution would be to disable Session Recovery and remove these large objects from the shared file with the Powertool Shared file viewer. Session recovery affects all users and documents on a server, not just one, so use with care.
Deleting these large object will make any difference if you keep Session Recovery enabled since these objects will be recreated automatically for each user session.