note 50805 added to function.session-start
| From: | msn:kiur/at/wannabe/dot/ee at osu1 dot php dot net | Date: | Thu, 10 Mar 2005 13:30:22 +0000 |
| Subject: | note 50805 added to function.session-start | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-86203@lists.php.net to get a copy of this message | ||
You see, that session_id creator
creates the id from md5-hashed $REMOTE_ADDR and some random numbers.
It is useful because you can check the hashed remote_addr using substr() function.
So there will be less possibilities to hijack the session using the id.
----
Manual Page -- http://www.php.net/manual/en/function.session-start.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+50805
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+50805&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+50805&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+50805&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+50805&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+50805&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+50805&report=yes
Search -- http://master.php.net/manage/user-notes.php