Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: robe [...] amd.co.at
Cc:
AdminCc:

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



Subject: Mention flush() in the synopsis
Here's a small patch to remind people to use flush() in the synopsis. I needed explicit calls to flush when changing the driver from flat files to postgresql when running the script in mod_perl1, which cost me a bit of time debugging the issue. Having the reminder up there should prevent other people getting bitten by that.
Subject: documentation.diff
--- Session.pm.orig 2006-10-20 11:05:59.000000000 +0200 +++ Session.pm 2006-10-20 11:19:10.000000000 +0200 @@ -450,6 +450,10 @@ # or $session->param(-name=>'l_name', -value=>'Ruzmetov'); + # flush the data from memory to the storage driver at least before your + # program finishes since auto-flushing can be unreliable + $session->flush(); + # retrieving data my $f_name = $session->param('f_name'); # or
Subject: Re: [rt.cpan.org #22333] Mention flush() in the synopsis
Date: Fri, 20 Oct 2006 08:32:58 -0400
To: bug-CGI-Session [...] rt.cpan.org
From: Mark Stosberg <mark [...] summersault.com>
Michael Renner via RT wrote: Show quoted text
> Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=22333 > > > Here's a small patch to remind people to use flush() in the synopsis. > > I needed explicit calls to flush when changing the driver from flat > files to postgresql when running the script in mod_perl1, which cost me > a bit of time debugging the issue. Having the reminder up there should > prevent other people getting bitten by that.
Applied. Thanks. Mark