NAME

Ado::Sessions::File - manage sessions stored in files

DESCRIPTION

Ado::Sessions::File manages sessions for Ado. All data gets serialized with Mojo::JSON and stored Base64 encoded in a file. A cookie or a request parameter can be used to share the session id between the server and the user agents.

ATTRIBUTES

Ado::Sessions::File inherits all attributes from Ado::Sessions and implements the following new ones.

dstdir

Path where to store session data files.

METHODS

absfile

Compose absolute path to session data file.

cleanup

This method is a garbage collector. Cleans up expired session files.

dstfile

File name of the session data file.

load

Load session data from file.

store

Store session data in file.

SEE ALSO

Mojolicious::Sessions, Ado::Sessions::Database