Skip Menu |

This queue is for tickets about the CGI-Session CPAN distribution.

Report information
The Basics
Id: 33635
Status: resolved
Priority: 0/
Queue: CGI-Session

People
Owner: Nobody in particular
Requestors: andrea.grillini [...] inwind.it
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 4.14
Fixed in: (no value)



Subject: Cannot set filename pattern for session file
Setting a pattern for the name of session files is not possible. Default pattern ('cgisess_%s') is used anyway. Example reference lines from the manual follow. $CGI::Session::Driver::file::FileName = "%s.dat"; $s = new CGI::Session(); Thanks Andrea Grillini
On Wed Feb 27 12:51:12 2008, appleaday wrote: Show quoted text
> Setting a pattern for the name of session files is not possible. Default > pattern ('cgisess_%s') is used anyway. > > Example reference lines from the manual follow. > > $CGI::Session::Driver::file::FileName = "%s.dat"; > $s = new CGI::Session();
Andrea, Thanks for the report. Would you able to help further address this by creating a Test::More style test that illustrates it? If you could further provide a patch for it, that would be great. Mark
Subject: Re: [rt.cpan.org #33635] Cannot set filename pattern for session file
Date: Sun, 16 Mar 2008 16:49:03 +1100
To: bug-CGI-Session [...] rt.cpan.org
From: Ron Savage <ron [...] savage.net.au>
Hi Mark Show quoted text
> Queue: CGI-Session > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=33635 >
Patched in SVN. -- Ron Savage ron@savage.net.au http://savage.net.au/index.html
Subject: Re: [rt.cpan.org #33635] Cannot set filename pattern for session file
Date: Sat, 05 Apr 2008 14:46:30 +0200
To: bug-CGI-Session [...] rt.cpan.org
From: Andrea Grillini <andrea.grillini [...] inwind.it>
MARKSTOS via RT wrote: Show quoted text
> Thanks for the report. Would you able to help further address this by > creating a Test::More style test that illustrates it? If you could > further provide a patch for it, that would be great.
Sorry for the delay in replying. I have actually no familiarity with Test::More, so I need time in order to catch up and eventually give my practical contribution. Anyway I've read a patch has already been supplied: do you still need the test? Do excuse please any possible naiveness due to my lack of experience. ;-) Bye A.
No need to work on this, thanx. Of course learning to write tests is always a valuable skill, and the book Perl Testing A Developer's Notebook (ISBN 0-596-10092-2) is a fine addition to anyone's technical library. Anyway, patched in V 4.29_1.