NAME

MojoX::Session::Transport - Base class for transport

SYNOPSIS

use base 'MojoX::Session::Transport';

sub get {
    my ($self) = @_;
    ...
    return $sid;
}

sub set {
    my ($self, $sid, $expires) = @_;
    ...
    return 1;
}

DESCRIPTION

MojoX::Session::Transport is a base class for transport objects in MojoX::Session.

METHODS

get

Get session id. Returns it.

set

Set session id. Returns status.