RE: [Cgi-session-user] Re: session not written to disk, worked before 4.x upgrade
Brought to you by:
sherzodr
From: Cristi O. <cr...@wi...> - 2006-01-19 08:36:48
|
Thank you Mark, Everything works fine now. CO -----Original Message----- From: cgi...@li... [mailto:cgi...@li...] On Behalf Of Mark Stosberg Sent: Wednesday, January 18, 2006 5:18 PM To: Cristi Ocolisan Cc: cgi...@li... Subject: [Cgi-session-user] Re: session not written to disk, worked before 4.x upgrade On Wed, Jan 18, 2006 at 05:07:16PM +0200, Cristi Ocolisan wrote: > Hi all, > > Again, my "fellow" admin from the server I host two of my clients' sites has > upgraded the version of perl to 5.8.7 and CGI::Session module to 4.03. > > This leads to several problems regarding my websites. > > First was that the sessions refused to initialize, but this I solved. > Now I have a nightmare because I have nothing written inside the session > files. > > > It is incredible, because it WORKED fine until the upgrade. > I revised several times my code and nothing seems to be wrong, but. > Please tell me if there are incompatibilities between perl 5.8.7 and > CGI::Session 4.03. No. I think something changed with the 4.00 release which shouldn't have. > Anyway my code is as follows: (maybe you can find my error) I think there may be something we can change in CGI::Session to fix this. In the meantime, call $session->flush(); Before your script exits to insure the session is written to disk. This is supposed to happen automatically, but apparently it works differently with 4.x. Mark ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Cgi-session-user mailing list Cgi...@li... https://lists.sourceforge.net/lists/listinfo/cgi-session-user |