MojoX::Session::Transport(3p)

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.

  "load"

AUTHOR
vti, "vti@cpan.org".

COPYRIGHT
Copyright (C) 2008, Viacheslav Tikhanovskii.

This program is free software, you can redistribute it and/or modify it under the same terms as Perl 5.10.