/
View dependency graph
Depends on
- libcgi-pm-perl (libcgi-pm-perl)
- libcgi-simple-perl (libcgi-simple-perl)
- libcrypt-sysrandom-perl (libcrypt-sysrandom-perl)
- libdbd-mysql-perl (libdbd-mysql-perl)
- libdbd-sqlite3-perl (libdbd-sqlite3-perl)
- libdbi-perl (libdbi-perl)
- libfreezethaw-perl (libfreezethaw-perl)
- libmodule-build-perl (libmodule-build-perl)
- perl (perl)
- debhelper-compat, libdbd-pg-perl
Used by
- ikiwiki 3.20260201-3
- ikiwiki-hosting 0.20220717-2
- libcgi-application-plugin-session-perl 1.06-1
- libcgi-formbuilder-perl 3.20-1
- libcgi-session-driver-chi-perl 1.0.3-3
- libcgi-session-driver-memcached-perl 0.04-2.1
- libcgi-session-expiresessions-perl 1.14-1
- libcgi-session-serialize-yaml-perl 4.26-4
- libchado-perl 1.31-9
README (full)
NAME
CGI::Session - persistent session data in CGI applications
SYNOPSIS
# Object initialization:
use CGI::Session;
$session = CGI::Session->new();
$CGISESSID = $session->id();
# send proper HTTP header with cookies:
print $session->header();
# storing data in the session
$session->param('f_name', 'Sherzod');
# or
$session->param(-name=>'l_name', -value=>'Ruzmetov');
# retrieving data
my $f_name = $session->param('f_name');
# or
my $l_name = $session->param(-name=>'l_name');
# clearing a certain session parameter
$session->clear(["l_name", "f_name"]);
# expire '_is_logged_in' flag after 10 idle minutes:
$session->expire('is_logged_in', '+10m')
# expire the session itself after 1 idle hour
$session->expire('+1h');
# delete the session for good
$session->delete();
DESCRIPTION
CGI-Session is a Perl5 library that provides an easy, reliable and modular
session management system across HTTP requests. Persistency is a key feature
for such applications as shopping carts, login/authentication routines, and
application that need to carry data across HTTP requests. CGI::Session does
that and many more.
COPYRIGHT
Copyright (C) 2001-2005 Sherzod Ruzmetov <[email protected]>. All rights reserved.
This library is free software. You can modify and or distribute it under the same
terms as Perl itself.
AUTHOR
Sherzod Ruzmetov <[email protected]>
SEE ALSO
* CGI::Session::Tutorial - extended CGI::Session manual
* RFC 2965 - "HTTP State Management Mechanism" found at
ftp://ftp.isi.edu/in-notes/rfc2965.txt
* CGI - standard CGI library
* Apache::Session - another fine alternative to CGI::Session
| dir | debian/ |
| dir | examples/ |
| dir | lib/ |
| dir | t/ |
| file | Build.PL |
| file | Changelog.ini |
| file | Changes |
| file | INSTALL |
| file | MANIFEST |
| file | MANIFEST.SKIP |
| file | META.json |
| file | META.yml |
| file | Makefile.PL |
| file | README |