note 13130 deleted from function.session-id by didou
| From: | didou@php.net | Date: | Thu, 02 Oct 2003 09:05:43 +0000 |
| Subject: | note 13130 deleted from function.session-id by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-57598@lists.php.net to get a copy of this message | ||
Note Submitter: martian@upm.edu.ph/kudarat
----
When defining your own unique session ID instead of letting your browser do the job, you should do
this before starting the session
e.g.
$id = 143445254;
session_id($id);
session_start();
print session_id();
// prints 143445254
//instead of the 32-bit string //generated by
//the computer/browser
//ofcourse it is better if you'll //generate your own session ID using md5