Re: [Cgi-session-user] Problem setting up CGI::Session
Brought to you by:
sherzodr
From: David S. <dav...@we...> - 2005-08-11 15:28:32
|
I didn't mean to start something big here :) ----- Original Message ----- From: "Mark Stosberg" <ma...@su...> To: <cgi...@li...> Sent: Thursday, August 11, 2005 9:52 AM Subject: Re: [Cgi-session-user] Problem setting up CGI::Session On Thu, Aug 11, 2005 at 03:42:07AM -0400, Sherzod Ruzmetov wrote: > > Is that something that should always be done after doing > > any updates to the > > > session? > > > > It shouldn't be needed, as long as the session object goes out of > > scope by the end of your request. The session is not written to disk > > until the DESTROY method of the CGI::Session object is called (which > > happens automatically when the object is garbage collected). > > True, theoretically, flush() should never be called by a program. > CGI::Session should call it automatically at the end of the session. > Howerver, in some rare instances, I noticed this doesn't happen, and > calling > flush() manually is the only fix. > > I know it's not very comforting for you guys to hear me say this, but I'm > not sure what the problem is either. It sounds like something to do with > the > way session's state data (_STATUS attribute) is kept track, and it may be > buggy. Could someone try the same test using 3.95 and if see if the result is the same? That for me would determine if we need to address this for the 4.0 release, which I would otherwise feel good about releasing into the world Real Soon Now. Mark ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Cgi-session-user mailing list Cgi...@li... https://lists.sourceforge.net/lists/listinfo/cgi-session-user |