ANNOUNCE: CGI::Session::ExpireSessions V 1.01
From: Ron Savage (ron_at_savage.net.au)
Date: 04/27/04
- Next message: Easel: "HELP! Template Toolkit: HTML to Template"
- Previous message: Charles Larry: "Re: Validating XML Parsers for Perl"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 27 Apr 2004 00:47:47 GMT
The pure Perl module CGI::Session::ExpireSessions V 1.01
is available immediately from CPAN,
and from http://savage.net.au/Perl-modules.html.
On-line docs, and a *.ppd for ActivePerl are also
available from the latter site.
An extract from the docs:
1.01 Tue Apr 27 10:01:00 2004
- Add another parameter to new(): table_name. This allows you to store sessions in a table with
a non-default name. The default name is of course 'sessions'. Thanx to Mark Stosberg for this
suggestion
- This module does not work with Mark's module CGI::Session::PureSQL. The best solution to this
problem seems to be to extend CGI::Session to offer a session iterator. This suggesion is also
from Mark. I will propose this today to the author of CGI::Session when I report the bug in
CGI:Session V 3.94 line 168, which says:
if ( $arg->isa('CGI') )
This bug means classes such as CGI::Simple can't be used here as a replacement for CGI.
The code needs to be something like:
if ($arg -> can('cookie') )...
elsif ($arg -> can('param') )...
-- Cheers Ron Savage, ron@savage.net.au on 27/04/2004 http://savage.net.au/index.html
- Next message: Easel: "HELP! Template Toolkit: HTML to Template"
- Previous message: Charles Larry: "Re: Validating XML Parsers for Perl"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|