On Thursday 29 August 2002 08:00, Todd Pasley wrote:
> > On a clients first visit to a site, the PHPSESSID gets written into the
> > URL, but not on any additional requests.
> >
> > Has anyone had this problem?  It wasn't happening before the upgrade.
> >
> > Running:
> >
> > Redhat 7.3
> > PHP 4.2.2
> > Apache 1.3.26
>
> The same thing happens to me, however, sessions are working fine throughout
> the entire site... just wondering.. is it actually inhibiting you from
> doing anything?

That's because you have enabled session.use_trans_sid. On the first visit to 
the site, php doesn't know whether the browser accepts cookies, thus it 
attaches the PHPSESSID. Once it has determined that the browser accepts 
cookies on subsequent pages it doesn't use PHPSESSID anymore.

Disable cookies in your browser and you'll see that PHPSESSID is attached 
throughout your visit.



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

/*
If God had meant for us to be naked, we would have been born that way.
*/


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

Reply via email to