NAME

CGI::Session::Hidden - persistent session using hidden fields

SYNOPSIS

In the CGI script:

use CGI::Session;
my $session = new CGI::Session("driver:Hidden", undef,
                               {CGI=>$cgi_obj});

In the HTML (pseudo-code):

<input type="hidden" name="$CGI::Session::NAME" value="$session->id()" /> <input $session->field() />

DESCRIPTION

This driver module for CGI::Session allows storing the session inside a hidden field in the HTML page.

The semantics are somewhat different than standard driver modules, but good enough for most uses.

BUGS

It is not (and can not be) a drop-in replacement for other drivers.

COPYRIGHT

Copyright (C) 2005 Mattia Barbon <mbarbon@cpan.org>. All rights reserved.

This library is free software. You can modify and or distribute it under the same terms as Perl itself.

AUTHOR

Mattia Barbon <mbarbon@cpan.org>.

SEE ALSO

CGI::Session