Personally, I would do a search-and-replace for header() and replace it with
your own custom header() function.

Then you would only have to change one location.

Jim Lucas
----- Original Message -----
From: "Ryan A" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, July 26, 2003 1:16 PM
Subject: Re: [PHP] Half solved...............what the @#%# is PHPSESSID?


> Hey John,
> I dont think its the browser because I have tried this with opera 6,opera
7,
> IE and NN with the same results...
> But when i checked the phpinfo() it says that cookies are enabled....Do
you
> think its worth it to search and replace each Location header with .SID?
>
> Thanks,
> -Ryan
>
>
>
> ----- Original Message -----
> From: "John W. Holmes" <[EMAIL PROTECTED]>
> To: "Ryan A" <[EMAIL PROTECTED]>
> Cc: "Marek Kilimajer" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Saturday, July 26, 2003 9:15 PM
> Subject: Re: [PHP] Half solved...............what the @#%# is PHPSESSID?
>
>
> > Ryan A wrote:
> >
> > > I know you can manipulate the php.ini file via htaccess or by putting
> some
> > > instructions in the include file...is there any way to turn on cookies
> again
> > > and turn off session.use_trans_sid so i can go back to the old way it
> was?
> > > because I have a lot of header("location:....") statements in a lot of
> > > files.
> >
> > Your browser is not accepting the cookies... Or, your session module has
> > been told not to use cookies. To enable cookies for the session module,
> use:
> >
> > php.ini:
> > session.use_cookies = 1
> >
> > .htaccess:
> > php_value session.use_cookies 1
> >
> > If the value is already 1 or ON, then it's your browser causing the
> > trouble.
> >
> > --
> > ---John Holmes...
> >
> > Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
> >
> > PHP|Architect: A magazine for PHP Professionals – www.phparch.com
> >
> >
> >
> >
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


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

Reply via email to