Jump to content

PHP Session Cookie Names


NuttyMonk

Recommended Posts

The default PHP Session name on my webspace server is PHPSESSID.

 

Does that mean that the session cookie will be called PHPSESSID?

 

The reason i ask is that in a couple of places i can't use PHP to update the information in the session cookie (because PHP is parsed before the webpage loads) and so i need to use Javascript to update a cookie which i would prefer to be the session cookie used by PHP.

 

I guess i'm asking what the name of the cookie is, how i would refer to it in Javascript (if that is even possible) so that i can update it and whether this would cause any issues with the info already stored in the session cookie by PHP.

 

Cheers

 

NM

Link to comment
https://forums.phpfreaks.com/topic/258918-php-session-cookie-names/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.