note 111155 deleted from function.session-name by aharvey

From: Date: Tue, 22 Jan 2013 00:14:58 +0000
Subject: note 111155 deleted from function.session-name by aharvey
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-193307@lists.php.net to get a copy of this message
Note Submitter: hansonpcs at yahoo dot com ---- Using non-alphanumeric characters in your session name, basically, turns session_name() into session_destroy(). This one had me stumped for a half a day, I even thought my PHP install was configured incorrectly. But it was just me being dense. It is obvious if you read the parameters section above, but it didn't register for me initially. So to clarify, do not use any spaces (cough), underscores, dashes, etc. in your session name. Letters and numbers and that's it.

« previous php.notes (#193307) next »