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 J.O. Aho on 03/21/07 20:59

Thorak wrote:
> 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.

Do you really need to send the session cookie?

By the way, I think the session cookie looks like this:
$Headers .= 'Cookie: '.ini_get('session.name').'='.session_id()."\r\n";

ini_get('session.name') -> session cookie name
session_id() -> session id (the string you playing with)


--

//Aho

 

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

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