Re: [PHP] trans-sid not working

2002-08-15 Thread Jean-Christian Imbeault

The problem what that I was using header("Location: http://mysite.com";) 
and it seems that PHP will not automatically insert the SID in this case.

Now I need to find a quick and simple way to see if cookies are disabled 
or not. If they are I need to manually add the SID to the header() call 
. . .

Jc


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




Re: [PHP] trans-sid not working

2002-08-15 Thread Jason Wong

On Thursday 15 August 2002 17:06, Jean-Christian Imbeault wrote:
> I have compiled PHP with the following:
>
> './configure' '--with-pgsql' '--without-mysql' '--enable-track-vars'
> '--enable-mbstring' '--enable-mbstr-enc-trans' '--enable-mbregex'
> '--enable-trans-sid' '--with-apache=../apache_1.3.26/'
>
> Unfortunately it seems that the --enable-trans-sid option is not working
> like I expected it. I try and register a session on a browser that does
> not allow cookies the session does not get registered and no SID is
> automatically appending to the URL.
>
> What did I miss?

There's also a setting in php.ini (probably under the sessions section) that 
you have to enable.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *

/*
"When the only tool you have is a hammer, you tend to treat everything as if
it were a nail."
-- Abraham Maslow
*/


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