sherzodr / cgi-session Goto Github PK
View Code? Open in Web Editor NEWCGI::Session - Perl module for persistent session data in CGI applications
CGI::Session - Perl module for persistent session data in CGI applications
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.