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/06/01 06:06:58 UTC

Re: Modifying of Apache::Session File

Hi,

We've solved the problem. I don't know whether this is the way.
We untie every time before we tie again and then change the hash.
This seems to work. Is this the correct way of modifying the contents.

Our session hash is not global. (Hope session object and hash are the same).
Session hash is only local to the functions.

We are using a file to store the values.

Murali

-----Original Message-----
From: Jeffrey W. Baker <jw...@acm.org>
To: Differentiated Software Solutions Pvt. Ltd. <di...@vsnl.com>
Cc: modperl@apache.org <mo...@apache.org>
Date: 01 June 2000 09:12
Subject: Re: Modifying of Apache::Session File


>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