Doing some testing, and stumbled across the "CraftSessionId" cookie...
What's the difference between CraftSessionId and a normal PHP session? Is there any difference at all? What's the best way to refer to the current session?
Craft CMS Stack Exchange is a question and answer site for administrators, end users, developers and designers for Craft CMS. It only takes a minute to sign up.Sign up to join this community
They are one in the same.
Craft simply renames it to "CraftSessionId" rather than the default "PHPSESSIONID".
You can see that in action in
HttpSessionService, which extends Yii's CHttpSession, which is a convenient wrapper for PHP's session functionality.