[BNM] session_start causing PHP to hang

David Andrew david.andrew at gmail.com
Wed Jun 4 11:00:57 BST 2008


Hi James

Did you manage to resolve the issue? I believe there is a similar
issue with one f my clients.

D

2008/6/3 James Moss <email at jamesmoss.co.uk>:
> Just a few simple strings and integers, nothing as complex as recursive data
> structures.
>
> I think I might have just found something in the manual:
>
> "It seems that the session file is opened exclusively.
> On some occasions (Windows) I have found that the file lock is not released
> properly for whatever reason, therefore causing session_start() to hang
> infinitely on any future script executions.
> My way round this problem was to use session_set_save_handler() and make
> sure the write function used fopen($file, 'w') instead of fopen($file, 'x')"
>
> This sounds very similar to our situation...
>
>
>
>
>
> On 03/06/2008, Alex Farran <alex at alexfarran.com> wrote:
>>
>>
>> What's stored in your session?  Could it be stuck in an infinite loop
>> deserialising a recursive data structure?
>>
>> --
>>
>> Alex Farran Web Development
>> Ruby PHP Javascript MySQL
>> Web:    http://www.alexfarran.com
>> Email:  alex at alexfarran.com
>> Phone:  01273 474065 / 07790 389330
>> --
>>
>> BNM Subscribe/Unsubscribe:
>> http://www.brightonnewmedia.org/options/bnmlist
>>
>> Archive Search - http://icanhaz.com/bnmarchive
>>
>> BNM powered by Wessex Networks:
>> http://www.wessexnetworks.com
>>
> --
>
> BNM Subscribe/Unsubscribe:
> http://www.brightonnewmedia.org/options/bnmlist
>
> Archive Search - http://icanhaz.com/bnmarchive
>
> BNM powered by Wessex Networks:
> http://www.wessexnetworks.com
>


More information about the BNMlist mailing list. Powered by Wessex Networks