Skip to content

SimpleSessionStorageProvider

Class: jstp.SimpleSessionStorageProvider

This class implements jstp.SessionStorageProvider interface.

Constructor: new SimpleSessionStorageProvider([inactiveSessionLifetime[, purgeInterval]])

  • inactiveSessionLifetime <number> Determines the minimal lifetime of the session which was marked as inactive in milliseconds. Defaults to 86400000 (24 hours).
  • purgeInterval <number> Determines the interval at which session purging occurs in milliseconds. Defaults to 3600000 (1 hour).