man > CGI::Session::ID::static

CGI::Session::ID::static(3pm) User Contributed Perl Documentation CGI::Session::ID::static(3pm)

πŸ“› NAME

CGI::Session::ID::static - CGI::Session ID Driver for generating static IDs

πŸš€ Quick Reference

Use Case Command Description
πŸ”‘ Generate static session ID CGI::Session->new('driver:mysql;id:static', $id, { Handle => $dbh }) Creates a session with a static ID; the ID is provided by the caller.
❌ Provide ID required CGI::Session->new('driver:mysql;id:static', $id, \%options) This driver demands a non‑undefined ID; if omitted it will croak.

πŸ“ SYNOPSIS

use CGI::Session;
$session = CGI::Session->new( 'driver:mysql;id:static', $ENV{REMOTE_ADDR}, { Handle => $dbh } );

πŸ“– DESCRIPTION

CGI::Session::ID::static is used to generate consistent, static session ID's. In other words, you tell CGI::Session ID you want to use, and it will honor it.

Unlike the other ID drivers, this one requires that you provide an ID when creating the session object; if you pass it an undefined value, it will croak.

πŸ“„ COPYRIGHT

Copyright (C) 2002 Adam Jacob <adam AT sysadminsith.org>,

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

✍️ AUTHORS

Adam Jacob <adam AT sysadminsith.org>,

πŸ“œ LICENSING

For additional support and licensing see CGI::Session

perl v5.22.1 2016-01-15 CGI::Session::ID::static(3pm)

CGI::Session::ID::static
CGI::Session::ID::static(3pm) User Contributed Perl Documentation CGI::Session::ID::static(3pm) πŸ“› NAME πŸš€ Quick Reference πŸ“ SYNOPSIS πŸ“– DESCRIPTION πŸ“„ COPYRIGHT ✍️ AUTHORS πŸ“œ LICENSING

Generated by phpman v4.9.26-1-g511901d · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-08-08 11:42 @216.73.216.150
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format