Session

Functions

  • CSRFGenerateToken() Provides a random token and stores it in the session.
  • CSRFVerifyToken() Validates the given token against the same stored in the session for a specific key.
  • sessionCommit() Force saving the session to storage, useful when sessionCluster is enabled.
  • SessionExists() Returns a boolean indicating if a session has been already created / exists.
  • 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.

Tags

Guides