You are here: Administration > System management > Set system security options > Change the web session inactivity timeout

Change the web session inactivity timeout

For security reasons all the web sessions log out (timeout) after periods of inactivity. Clicking a link or refreshing a page resets the inactivity timer. Closing the browser window/tab also ends the session (i.e. the session cookies are not persistent). The default timeout periods for different login types are described in the table below:

Table 90: Default Web Session Inactivity Timeout Values
Login Type Default value
Admin web interface 1440 minutes (24 hours)
Web based Release StationPrint Release Stations place a print job on hold and allow users to release it when required. Often a Release Station is a dedicated PC terminal located next to the printers, however, Release Stations can take other forms such as a web browser based interface. Some common examples where Release Stations can be used include secure printing, approved printing, and authentication. In a secure printing environment jobs are only printed when the user arrives at the print area and confirms his or her identity. This ensures the user is there to collect the job and other users can't "accidentally" collect the document. In some organizations it may be appropriate to hold jobs until they are approved by selected individuals. A good example would be a teacher approving printing on an expensive color printer. Hold/Release queues can be used as a form of authentication in an unauthenticated environment. Users must authenticate prior to releasing their jobs allowing PaperCut NG to confirm their identity. 1440 minutes (24 hours)
Web CashierWeb Cashier is a basic Point of Sale (POS) system to charge items to PaperCut accounts and deposit funds into users' accounts. 1440 minutes (24 hours)
User web interfaceThe User web interface provide a range of services for users, including a summary of usage and balance history, a list of the shared accounts that the user can use for printing, the current costs for printing usage, ability to add balance by using a TopUp/Pre-Paid Card or an external payment system (when using the payment gateway module), transfer funds to other users, view a history of balance transactions, view a list of the user's recent printing, and view print jobs pending release (when using a Release Station). 60 minutes (1 hour)

These timeout values (a period given in minutes) are configurable via the config keys below. A value of 0 indicates that the session never times out. The special value DEFAULT indicates that the PaperCut defaults (in the above table) are used (the PaperCut defaults might change in future versions).

Table 91: Timeout Web Session Config Keys
Config name Description
web-login.admin.session-timeout-mins Inactivity timeout for the admin web interface.
web-login.web-cashier.session-timeout-mins Inactivity timeout for Web Cashier.
web-login.release.session-timeout-mins Inactivity timeout for the web based Release Station.
web-login.user.session-timeout-mins Inactivity timeout for the user web interface.

See Using the Config Editor for information about changing config keys.

Changing the inactivity timeout values take effect the next time users log in. Note that some pages periodically refresh the page (or data on the page), such as the dashboard and the web based Release Station. A session does not time out if a browser is left on these pages, as it is considered active.


Comments

Share your findings and experience with other PaperCut users. Feel free to add comments and suggestions about this Knowledge Base article. Please don't use this for support requests.