Re: Cookie Session Problem

From: Date: Fri, 06 Dec 2002 16:43:40 +0000
Subject: Re: Cookie Session Problem
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-92169@lists.php.net to get a copy of this message
The problem i'm having is that the session id is showing up in the url when a user moves to the next page in the site, but then after that it stop showing up in the url (the way it should be). I don't want the session id (periodically) showing up in the url this causes me problems on certain things. Why does this happen?
It is a feature to support users that do not have cookies or have cookies disabled. The sessionid is showing only on the first page access; once PHP establishes that the user supports cookies it will stop changing URLs. It is documented here: http://www.php.net/manual/en/ref.session.php You can turn it off by setting "session.use_trans_sid" parameter to off (btw, it is off by default). Bye, Ivan

« previous php.dev (#92169) next »