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]
|