Skip Menu |

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

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

People
Owner: MARKSTOS [...] cpan.org
Requestors: kontakis [...] uom.gr
Cc:
AdminCc:

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



Subject: don't create session files
Perl version: perl, v5.8.4 built for i386-linux-thread-multi Operating System: Linux Debian 2.6.8-2-686-smp all versions 3.xx create session files in /tmp but $session->expire() function doesn't work all versions 4.xx don't create session files in /tmp but $session->expire() function works I have tried all version and i don't understand why this is happened If you have time please give me a solution Manos kontakis
From: markstos [...] cpan.org
[guest - Sun May 8 09:25:59 2005]: Show quoted text
> Perl version: > perl, v5.8.4 built for i386-linux-thread-multi > > Operating System: > Linux Debian 2.6.8-2-686-smp > > all versions 3.xx create session files in /tmp but $session->expire() > function doesn't work > all versions 4.xx don't create session files in /tmp but $session-
> >expire() function works
> > I have tried all version and i don't understand why this is happened > > If you have time please give me a solution > Manos kontakis
I'm sorry, I don't understand your bug report. Could you be clearer which behavior it is that you want, and which you consider a bug? If possible, please provide a Test::More style test case which illustrates the bug. Mark
From: markus
[guest - Sun May 8 09:25:59 2005]: Show quoted text
> Perl version: > perl, v5.8.4 built for i386-linux-thread-multi > > Operating System: > Linux Debian 2.6.8-2-686-smp > > all versions 3.xx create session files in /tmp but $session->expire() > function doesn't work > all versions 4.xx don't create session files in /tmp but $session-
> >expire() function works
>
i am just playing around with CGI::Session. version 3.95 creates files in tmp when calling save_param. in version 4.0.08 i have to call "flush" to create the files, although this should be done "automatically". markus
[guest - Mon Jul 18 07:24:09 2005]: Show quoted text
> [guest - Sun May 8 09:25:59 2005]: >
> > Perl version: > > perl, v5.8.4 built for i386-linux-thread-multi > > > > Operating System: > > Linux Debian 2.6.8-2-686-smp > > > > all versions 3.xx create session files in /tmp but $session-
> >expire()
> > function doesn't work > > all versions 4.xx don't create session files in /tmp but $session-
> > >expire() function works
> >
> > i am just playing around with CGI::Session. version 3.95 creates
files Show quoted text
> in tmp when calling save_param. in version 4.0.08 i have to call > "flush" > to create the files, although this should be done "automatically". > > markus
I've reviewed this more now. This is an optimization in 4.x, not a bug. The save_param() docs in both versions don't claim they will write the files to disk. flush should be called automatically when your script exits. Mark