page.php?PHPSESSID=8282740082

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
seodevhead
Forum Regular
Posts: 705
Joined: Sat Oct 08, 2005 8:18 pm
Location: Windermere, FL

page.php?PHPSESSID=8282740082

Post 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.
User avatar
s.dot
Tranquility In Moderation
Posts: 5001
Joined: Sun Feb 06, 2005 7:18 pm
Location: Indiana

Post 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.
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Post Reply