* Naveen valecha valecha29@gmail.com [140210 17:09]:
Hi tom I think sesssion_name stored in "sessions" table corresponding to session_id.please see
Hi, Thanks for the quick reply. The sessions table has a 'sid' column, which on my system stores the session ID, (not the session name). As I understand it, the value returned by the session_name() function is the name of the cookie that has been set. The contents of the cookie is the same as the session ID. Example, on my machine, using localhost, The session_name() function returns SESS8f93ae84e0d076318a028995c285dfea I find a cookie named SESS8f93ae84e0d076318a028995c285dfea and it's contents are 5GwoK_4A8Kiw8gmEnVo0lyCcq5H4-jz1X5T0ODMz76A
In the sessions table, I find the sid value equal to 5GwoK_4A8Kiw8gmEnVo0lyCcq5H4-jz1X5T0ODMz76A
And that is the same value returned from $_COOKIE[session_name()]; So the sid value in the database is the session ID, *not* the *session name*
I'm try to find out where the *session name* is stored. It must be in the database somewhere to maintain presistance. cheers