See inline:

--- "Ford, Mike" <[EMAIL PROTECTED]> wrote:


> The only circumstance under which I can think this
> might happen is if the
> session id is not being propagated by cookie --
> either because they're
> blocked in the browser, or because you have them
> switched off in php.ini.

They are not switched off in php.ini.  I do have them
"semi blocked" in the browser, i.e. set to "allow for
session"

> Even if you have session.use_trans_sid enabled,

It is enabled.

> PHP cannot rewrite URLs in the header() call, so you
> have to include the session ID manually.  
> You should do this regardless of whether you expect
> cookies to be enabled, so that it will work ok even
> > in the unexpected situation of having cookies
> turned off.
> 
> Fortunately, the standard PHP constant SID is
> provided for exactly this
> purpose, so your header call above should be:
> 
>    header("Location: $url?".SID);

This is all I need to include the SID ?

Thank you 
Stuart

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to