Page 1 of 1

page.php?PHPSESSID=8282740082

Posted: Thu Nov 10, 2005 10:11 pm
by seodevhead
Hey guys,

I'm fairly new to php and I've noticed that on some of my scripts... very occassionally I will notice '?PHPSESSID=82737459' tagged to the end of my script's URL in the browser URL address bar. Why does this happen sometimes? Is this something I need to worry about? Not sure what is happening or what it means.. can it be fixed?? Thanks for all your help! Take care.

Posted: Fri Nov 11, 2005 12:09 am
by s.dot
If your php.ini file is not set to store session ids in a cookie, it will be tacked on to the end of your URL. It's a way of maintaining session data across pages. Something you need to worry about? It is ugly. If you don't mind that, then you need to think about security. If someone copies a link (or a search engine indexes it) people will go to that page will have the information in that session.. if it hasn't expired.

Posted: Fri Nov 11, 2005 12:34 am
by feyd