logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: Problem setting up CGI::Session: msg#00009

Subject: Re: Problem setting up CGI::Session
On 8/10/05, David Staschover <davidsta-YnlBYnBh82ZWk0Htik3J/w@xxxxxxxxxxxxxxxx> 
wrote:
> I think that fixed it!! Thanks!
> 
> 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).

Are you per chance using a persistent environment like mod_perl?  If
so you need to be careful about global variables.

Cheers,

Cees


-------------------------------------------------------
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



Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>