[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-modperl
Subject:    Re: Modifying of Apache::Session File
From:       "Jeffrey W. Baker" <jwbaker () acm ! org>
Date:       2000-05-31 15:06:31
[Download RAW message or body]

On Wed, 31 May 2000, Differentiated Software Solutions Pvt. Ltd. wrote:

> Hi,
> 
> We've got an application where on initial login we're creating the session
> file.
> Subsequently, we want to add more hash values into this session file.
> 
> Immediately after creation if we add values to the session file, these
> values get stored.
> After a few pages we tried to modify the existing session file, by
> First, tie-ing the values to a session hash
> Second, Modifying the session hash.
> 
> At the point of modifying the session, the program just hangs .... waits
> indefintely.
> Can anybody help us out with this problem.

You must have leaked some session objects, and now you are holding stale
locks.  It is a frequent problem.  If you are using a global for the
session object, don't do that.  Also don't make a circular reference to
the session object.

-jwb

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic