Supressing a session id in link

From: Date: Wed, 05 Mar 2003 02:45:27 +0000
Subject: Supressing a session id in link
Groups: php.general 
Request: Send a blank email to php-general+get-138214@lists.php.net to get a copy of this message
Hi All, I need to suppress the session id in some links. The xhtml needs to validate and the session id will no do so. A lot of people that visit the site will try to validate the xhtml and css. I call the links with <a href="<?php echo$_SERVER['PHP_SELF'];?>?style=styles2">+1</a> and and the server generates <a href="/index.php?style=styles&PHPSESSID=5f88ef3510a086ca41adeec84a875ea4">+1</a> W3's validator gives me this http://validator.w3.org/check?uri=http%3A%2F%2Fnemesis1.f2o.org I have tried not starting the session until the link is clicked but then the session does not carry over to the next page. Any Ideas? TIA Gary

« previous php.general (#138214) next »