Page 1 of 1

session load issues

Posted: Fri May 26, 2006 11:54 pm
by paqman
Hey,

I'm working on a website for my own business and I'm having a strange event occur. I initialize a session on the main (index.php) page (http://southslopelandscaping.com/test/) and on it's first load, it adds PHPSESSID to every link (ex: http://southslopelandscaping.com/test/i ... a5287306f4)

I'm fairly new to php and I was wondering what's going on. If anyone has any advice, I'd love to hear it! Thanks!

Posted: Sat May 27, 2006 12:02 am
by RobertGonzalez
That is PHP's way of propagating the session id. If there were a form on that page you would see a hidden field called PHPSESSID as well. This will happen on the first session'ed page, and on all subsequent pages if the server cannot write the session information to a cookie.