![]() |
![]()
| ![]() |
![]()
NAMEJifty::Model::Session - Jifty session tracking DESCRIPTIONEvery 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. tableSessions are stored in the table "_jifty_sessions". sinceSessions first started getting stored in the database in Jifty version 0.60428 current_usercurrent_user_canEveryone 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_idReturns a random new session id. This is a 32-character hex string. createDefaults the created and updated times to now. before_set_value [VALUE]Updates the "updated" column, in addition to setting the value.
|