[PHP] Re: Page validation: Un-wanted PHP session ID added to links????

2006-02-20 Thread David Dorward
Michael Hulse wrote:

 I just finished a website for client - I just uploaded the site to
 their server space - when I went to go validate my pages using the W3C
 XHTML validator I get several errors due to an un-encoded ampersand in
 the link URL... For some reason, a session ID is getting added to the
 end of all my menu links:
 
 /start.php?page=homePHPSESSID=45142bb20b8b2e800be5359b667237

http://www.w3.org/QA/2005/04/php-session details how to fix the problem
(without breaking the session tracking for users without cookies supported
and enabled).

-- 
David Dorward   http://blog.dorward.me.uk/   http://dorward.me.uk/
 Home is where the ~/.bashrc is

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



Re: [PHP] Re: Page validation: Un-wanted PHP session ID added to links????

2006-02-20 Thread Michael Hulse


On Feb 20, 2006, at 12:11 PM, David Dorward wrote:

http://www.w3.org/QA/2005/04/php-session details how to fix the problem
(without breaking the session tracking for users without cookies 
supported

and enabled).



Ah, great link. Thanks!  :)

I don't know why sessions are being stored in the first place, but at 
least I can fix the validation prob.


Cheers!
Micky

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