|
Posted by J.O. Aho on 12/17/06 16:49
MS wrote:
> I am using Sessions which are working fine... except that on the
> first/second page loaded the session id is in the URL and therefore the URL
> is being indexed, by search engines, with the Session Id.
>
> Is there a way to stop the session Id from being part of the URL?
You can choose between using cookies or url-encoded, in your php.ini set
session.use_cookies = 1
or use the ini_set() on each script and set the session.use_cookies to 1.
Depending on your script (not sure if you written it yourself or not), it may
still set the URL-session, if so, you can modify the SID constant, either
remove it or redefine it to an empty string.
> Stopping the Session Id being recorded by Search Engines?
You can add the
<meta name="Robots" content="index,nofollow">
in the html header and hope that the robots will honor your wishes.
--
//Aho
[Back to original message]
|