You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by "Differentiated Software Solutions Pvt. Ltd." <di...@vsnl.com> on 2000/05/31 10:26:56 UTC

Modifying of Apache::Session File

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.

Murali

Differentiated Software Solutions Pvt. Ltd.,
176, Gr. Floor, 6th Main
2nd Block RT Nagar
Bangalore - 560 032
India
Ph: 91 80 3431470
email : diffs@vsnl.com
http://www.diffs-india.com


Re: Modifying of Apache::Session File

Posted by "Jeffrey W. Baker" <jw...@acm.org>.
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