Shawn M Moore

NAME

Jifty::Web::Session::ClientSide - Session handler for client-side sessions

SYNOPSIS

In your etc/config.yml:

  framework:
    Web:
      SessionClass: Jifty::Web::Session::ClientSide
      SessionSecret: secret_passphrase

new

Returns a new, empty session handler, subclassing Jifty::Web::Session.

_cipher

Accessor to the underlying Crypt::CBC object that encapsulates the server-side secret.

id

Returns the session's id if it has been loaded, or undef otherwise.

create

Since there is no server-side storage, this simply clears the object's local state.

load [ID]

Load up the current session from the given ID, or the appropriate cookie (see "cookie_name" in Jifty::Web::Session) otherwise.

If both of those fail, creates a session in memory.

get KEY [TYPE]

See "get" in Jifty::Web::Session.

set KEY => VALUE, [TYPE]

See "set" in Jifty::Web::Session.

remove KEY, [TYPE]

See "remove" in Jifty::Web::Session.

continuations

See "continuations" in Jifty::Web::Session.

unload

See "unload" in Jifty::Web::Session.

flush

Outputs the client-side session as one or more cookies.




Hosting generously
sponsored by Bytemark