Session

Functions

  • SessionInvalidate() Invalidates or cleans up the current session.
  • SessionRotate() invalidate current session, creates a new session and migrate the data from the old session to the new.
  • SessionStartTime() Provides information about the time when the current users session scope was created.

Guides

  • Using database for session data storage Services -> Datasource Create new MySQL datasource. * Fill name (e.g. sstorage), connection details, database name (e.g. rsessions). * Tick "Clob" enable long text retrieval. * Tick "Storage" allow to use this datasource as client/session storage. * "Auto reconnect": choose false * "Throw error upon data truncation": choose true

Tags