Jesse Vincent > Jifty > Jifty::Model::Session

Download:
Jifty-0.70824.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  13
Open  4
Stalled  1
View/Report Bugs
Source   Latest Release: Jifty-1.10518

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

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.

syntax highlighting: