Jifty::Model::Session(3)

NAME
Jifty::Model::Session - Jifty session tracking

DESCRIPTION
Every Jifty application automatically inherits this table, which tracks session information for the application. Individual keys in the session structure are stored as rows, making session updates take constant time, and also reducing the need for locking.

  table
Sessions are stored in the table "_jifty_sessions".

  since
Sessions first started getting stored in the database in Jifty version 0.60428

  current_user

  current_user_can
Everyone is treated as the superuser when dealing with session objects. This avoids infinite recursion, as otherwise it would try to look up the current user in the session object to find out who we are...

  new_session_id
Returns a random new session id. This is a 32-character hex string.

  create
Defaults the created and updated times to now.

  before_set_value [VALUE]
Updates the "updated" column, in addition to setting the value.