The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Changes for version 4.20_1

  • FIX: -ip_match now works even when it's not the last import item. (RT#21779)
  • FIX: In the PostgreSQL driver, a race condition is when storing is now worked around. (Mark Stosberg)
  • FIX: Added important clarification and example to MySQL driver docs that the session column needs to be defined as a primary key to avoid duplicate sessions. (Justin Simoni, Mark Stosberg)
  • FIX: The default serializer now works correctly with certain data structures. (RT#?) (Matt LeBlanc)
  • FIX: A documentation bug in find() was fixed (Matt LeBlanc)
  • FIX: Documented how to declare a database handle to be used on demand, which was introduced in 4.04. (Mark Stosberg)
  • FIX: Connections made with SQLite now disconnect only when appropriate, instead of always. This addresses a symptom seen as "attempt to prepare on inactive database handle" (Jaldhar Vyas, Sherzod, Mark Stosberg)
  • FIX: Args to the constructor for CGI::Session and the drivers are now always shallow copied rather than used directly, to prevent modification. (RT#21952, Franck Porcher, Sherzod, Mark Stosberg)
  • FIX: The documentation for expire($param, $time) was made more explicit (pjf, Mark Stosberg)
  • NEW: Added recommended use of flush() to the Synopsis (Michael Renner, RT#22333)
  • NEW: Added links to Japanese translations of the documentation (Makio Tsukamoto) http://digit.que.ne.jp/work/index.cgi?Perldoc/ja
  • INTERNAL: Update test to workaround YAML versions less than 0.58. (Matt LeBlanc)
  • INTERNAL: param() code was refactored for clarity (Mark Stosberg, Ali ISIK, RT#21782)
  • INTERNAL: new() and load() were refactored (Ali Isik)
  • INTERNAL: renamed some environment variables used for testing (Ron Savage)
  • INTERNAL: Multi key-value syntax of param() now always returns number of keys successfully processed, 0 if no key/values were processed.

Modules

persistent session data in CGI applications
CGI::Session driver specifications
Base class for native DBI-related CGI::Session drivers
CGI::Session driver for BerkeleyDB using DB_File
Default CGI::Session driver
CGI::Session driver for MySQL database
PostgreSQL driver for CGI::Session
CGI::Session driver for SQLite
error handling routines for CGI::Session
CGI::Session ID driver
default CGI::Session ID generator
CGI::Session ID Driver for generating static IDs
Default CGI::Session serializer
serializer for CGI::Session
serializer for CGI::Session
Serializer for CGI::Session
serializer for CGI::Session
Extended CGI::Session manual

Provides

in lib/CGI/Session/Test/Default.pm
in lib/CGI/Session/Test/Default.pm
in lib/CGI/Session/Test/Default.pm