Welcome to WebmasterWorld Guest from 54.198.118.102

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

PHP adding session ID to my hyperlinks?

     
11:20 pm on Jan 9, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Apr 2, 2002
posts:1099
votes: 0


Hi I have added the following codes so I can add the variable 'counter.' However, what I also see is the the addition of
?PHPSESSID=fb04ea32e0e09441585d2d0d01d9fb39 to most of my hyperlinks. I was wondering if I can elimiate this part of the URL. I don't want Googlebots to think I have dynamic pages.

Please help.

<?
session_start();
$counter++;
session_register("counter");

rest of the program
?>

11:29 pm on Jan 9, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:July 22, 2002
posts:1782
votes: 0


Have a look at the setting of the session.use_trans_sid [php.net] configuration option.

Andreas