The WebLink 8 Document Viewer Contains a Refresh Feature That Automatically Prevents an ASP.NET Session Timeout.

August 2, 2010 | KB: 1012655
WebLink 8

Summary

By default, the WebLink 8 Document Viewer page automatically attempts to keep a session alive as a method for preventing the need to re-download the image tiles when a session times out. As a side effect, the feature bypasses the sessionState element's timeout attribute as set in the WebLink 8 Web.config file when a user has the Document Viewer open. Users must close the Document Viewer before WebLink can register a user session as being inactive.

Workaround

You can edit the DocView.aspx page to disable WebLink from refreshing a session.

To prevent WebLink from automatically refreshing a session in the Document Viewer

  1. From a text editor, open the DocView.aspx file. This file is located in the Web Files subfolder of the WebLink 8 installation folder. By default, the location is "C:\Program Files\Laserfiche\WebLink 8\Web Files.
  2. At the end of the file, locate the following section:
  3. $(document).ready(function() {
      $($get("MetadataTab")).click();
    });

  4. Append a line to the section like so:
  5. $(document).ready(function() {
      $($get("MetadataTab")).click();
      KeepAliveTimer.Stop();
    });

  6. Save the change to DocView.aspx.