I'm using winxp and php.. can this be the problem. I solved the problem by
donwgrade to php 4.1.0..
"Austin Marshall" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Daniel SvanbäCk wrote:
> > Hi
> > I have a problem. I can't send the session_id to the next page. It
> > before (when I had an old version of php, now I have 4.2.0). It can send
> > session_id() if it's a link, but not a header(). If it is a header I
> > do this:
> > define('MYSID', session_name().'='.session_id());
> > header('Location: ../index.php?'.zOLSID);
> > Do I have to add this to every header()? Or is there a easyier way. I
> > global variables = on.
> > //Daniel
> Straight from the manual at http://www.php.net/manual/en/ref.session.php
> PHP is capable of doing this transparently when compiled with
> --enable-trans-sid. If you enable this option, relative URIs will be
> changed to contain the session id automatically. Alternatively, you can
> use the constant SID which is defined, if the client did not send the
> appropriate cookie. SID is either of the form session_name=session_id or
> is an empty string.
> You probably didn't have --enable-trans-sid when you configured/compiled
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php