Sessions are not encrypted by default. The data is just stored in serialised form in temporary directory on server's hard disk. This can be changed by redefining session handling functions.
You can for example use database to store session data, as well as encrypt it.
THe PHPSESSID value you see, is just an MD5 identifier of session file assigned to current browser session.
Answer from Mchl on Stack OverflowSessions are not encrypted by default. The data is just stored in serialised form in temporary directory on server's hard disk. This can be changed by redefining session handling functions.
You can for example use database to store session data, as well as encrypt it.
THe PHPSESSID value you see, is just an MD5 identifier of session file assigned to current browser session.
Your session-data is not encrypted. This ominous string is just something very random hashed, maybe MD5-hashing (see MD5()-function), but it has no meaning and there would be no reason trying to decrypt it. and sessions are private, so nobody can see it except for the visitor and the site-admin. But if somebody steels through network-sniffing or a troyan on your PC the session-key, then he can given the propper setup authenticate as you ... that's called session-hijacking.
Best
Raffael