You are here: Re: fsockopen() Cookie problem Maximum execution time of 30 seconds exceeded « All PHP « IT news, forums, messages
Re: fsockopen() Cookie problem Maximum execution time of 30 seconds exceeded

Posted by Thorak on 03/21/07 20:23

OK... been workin on this for a couple days now - driving me nuts...
but I did manage to sort out one thing in all this time.

I can use session data from another user (we have multiple people
using the same system at our shop - therefore the data structure
itself is the same, just different values). Anyways... The script
listed above gives the timeout warning only if the user has another
page on the site open that is using the same session. If i hard code
in a different session number in the header 'Cookie:' area that
exists in PHP's session dir then it works fine - information fills
into the forms, no timeout errors etc.

To check this I started an new session on my machine and tried to run
my script -> Timeout error.
So i went to the PHP Session dir and found the
'sess_c32fc53d15e03ba25f1ad6be035a7eb1' file and copied it to a new
one with the name of 'sess_c32fc53d15e03ba25f1ad6be035a7eb2' (just
changed the last digit).

I hard coded this new number into the Cookie: header line again and
voila - all works fine. Change the hard coded Cookie: to the original
number and it times out.

Any ideas???

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация