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
MIME-Version: 1.0
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Type: text/plain
Charset: utf8
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 270
Download (untitled) / with headers
text/plain 270b
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
MIME-Version: 1.0
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Disposition: inline
Charset: utf8
Message-Id: <rt-3.6.HEAD-8945-1205632951-804.33635-0-0 [...] rt.cpan.org>
Content-Type: text/plain
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Original-Encoding: utf-8
Content-Length: 517
Download (untitled) / with headers
text/plain 517b
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
MIME-Version: 1.0
X-Spam-Status: No, hits=-2.6 required=8.0 tests=BAYES_00
In-Reply-To: <rt-3.6.HEAD-8945-1205632951-804.33635-5-0 [...] rt.cpan.org>
X-Mailer: Evolution 2.12.3
References: <RT-Ticket-33635 [...] rt.cpan.org> <rt-3.6.HEAD-8945-1205632951-804.33635-5-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
X-RT-Original-Encoding: ascii
Received: from x1.develooper.com (x1.develooper.com [63.251.223.170]) by diesel.bestpractical.com (Postfix) with SMTP id 454E64D804B for <bug-CGI-Session [...] rt.cpan.org>; Sun, 16 Mar 2008 01:46:08 -0400 (EDT)
Received: (qmail 23258 invoked from network); 16 Mar 2008 05:46:07 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 16 Mar 2008 05:46:07 -0000
Received: from hosted08.westnet.com.au (HELO hosted08.westnet.com.au) (203.10.1.225) by 16.mx.develooper.com (qpsmtpd/0.43rc1) with ESMTP; Sat, 15 Mar 2008 22:46:05 -0700
Received: from hosted08.westnet.com.au (hosted08.westnet.com.au [127.0.0.1]) by hosted08.westnet.com.au (Postfix) with SMTP id DE6B23B92FA for <bug-CGI-Session [...] rt.cpan.org>; Sun, 16 Mar 2008 14:46:01 +0900 (WST)
Received: from [192.168.100.4] (dsl-58-6-176-29.nsw.westnet.com.au [58.6.176.29]) by hosted08.westnet.com.au (Postfix) with ESMTP id CCE8D3B945B for <bug-CGI-Session [...] rt.cpan.org>; Sun, 16 Mar 2008 14:45:54 +0900 (WST)
Delivered-To: cpan-bug+CGI-Session [...] diesel.bestpractical.com
Subject: Re: [rt.cpan.org #33635] Cannot set filename pattern for session file
X-PMX-Branch: TNG-Outgoing
Return-Path: <ron [...] savage.net.au>
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: bug-CGI-Session [...] rt.cpan.org
Date: Sun, 16 Mar 2008 16:49:03 +1100
X-Spam-Level: *
Message-Id: <1205646543.4323.42.camel [...] zoe.savage.net.au>
To: bug-CGI-Session [...] rt.cpan.org
Content-Transfer-Encoding: 7bit
From: Ron Savage <ron [...] savage.net.au>
X-RT-Original-Encoding: utf-8
RT-Message-ID: <rt-3.6.HEAD-8945-1205646378-913.33635-0-0 [...] rt.cpan.org>
Content-Length: 180
Download (untitled) / with headers
text/plain 180b
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
MIME-Version: 1.0
X-Spam-Status: No, hits=-2.6 required=8.0 tests=BAYES_00
In-Reply-To: <rt-3.6.HEAD-8945-1205632951-804.33635-6-0 [...] rt.cpan.org>
X-Ironport-Anti-Spam-Result: AgIBAO8Q90eXMgOa/2dsb2JhbAAIqm0
References: <RT-Ticket-33635 [...] rt.cpan.org> <rt-3.6.HEAD-8945-1205632951-804.33635-6-0 [...] rt.cpan.org>
X-Ironport-Anti-Spam-Filtered: true
Content-Type: text/plain; charset=UTF-8; format=flowed
X-RT-Original-Encoding: utf-8
Received: from x1.develooper.com (x1.develooper.com [63.251.223.170]) by diesel.bestpractical.com (Postfix) with SMTP id 4EDD24D809C for <bug-CGI-Session [...] rt.cpan.org>; Sat, 5 Apr 2008 08:47:13 -0400 (EDT)
Received: (qmail 25554 invoked from network); 5 Apr 2008 12:46:40 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 5 Apr 2008 12:46:40 -0000
Received: from smtp-out1.libero.it (HELO smtp-out1.libero.it) (212.52.84.41) by 16.mx.develooper.com (qpsmtpd/0.43rc1) with ESMTP; Sat, 05 Apr 2008 05:46:35 -0700
Received: from mailrelay11.libero.it (192.168.32.128) by smtp-out1.libero.it (7.3.120) id 47C416BE02CD509C for bug-CGI-Session [...] rt.cpan.org; Sat, 5 Apr 2008 14:46:31 +0200
Received: from adsl-ull-154-3.50-151.net24.it (HELO [192.168.2.10]) ([151.50.3.154]) by outrelay-b11.libero.it with ESMTP; 05 Apr 2008 14:46:30 +0200
Delivered-To: cpan-bug+CGI-Session [...] diesel.bestpractical.com
Subject: Re: [rt.cpan.org #33635] Cannot set filename pattern for session file
User-Agent: Thunderbird 2.0.0.12 (X11/20080227)
Return-Path: <andrea.grillini [...] inwind.it>
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: bug-CGI-Session [...] rt.cpan.org
Date: Sat, 05 Apr 2008 14:46:30 +0200
X-Spam-Level: *
Message-Id: <47F774A6.4060703 [...] inwind.it>
To: bug-CGI-Session [...] rt.cpan.org
Content-Transfer-Encoding: 7bit
From: Andrea Grillini <andrea.grillini [...] inwind.it>
X-RT-Original-Encoding: utf-8
RT-Message-ID: <rt-3.6.HEAD-24883-1207399751-1494.33635-0-0 [...] rt.cpan.org>
Content-Length: 555
Download (untitled) / with headers
text/plain 555b
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.
MIME-Version: 1.0
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Disposition: inline
Charset: utf8
Message-Id: <rt-3.6.HEAD-25728-1207527313-99.33635-0-0 [...] rt.cpan.org>
Content-Type: text/plain
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Original-Encoding: utf-8
Content-Length: 244
Download (untitled) / with headers
text/plain 244b
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.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.