note 88004 added to function.md5

From: Date: Mon, 05 Jan 2009 20:18:21 +0000
Subject: note 88004 added to function.md5
Groups: php.notes 
Request: Send a blank email to php-notes+get-148863@lists.php.net to get a copy of this message
sandaimespaceman, using the IP address of the client is a really bad idea. There are network configurations where the clients ip address will change countless times throughout the session. In those cases your users will have to re-authenticate constantly, and get VERY upset with you. I deal with this issue on a regular basis, please don't do it. Example: My college uses a pooled collection of IP addresses when connecting to the outside world. The IP addresses are set to rotate at a rate of ~30 seconds. This means that to your server I will always appear to come from a different REMOTE_ADDRESS and break your cookie every time. Again, and I cannot stress this enough to developers, NEVER rely on the IP address remaining static in a given session. ---- Server IP: 208.69.120.35 Probable Submitter: 192.81.253.250 ---- Manual Page -- http://www.php.net/manual/en/function.md5.php Edit -- https://master.php.net/note/edit/88004 Del: integrated -- https://master.php.net/note/delete/88004/integrated Del: useless -- https://master.php.net/note/delete/88004/useless Del: bad code -- https://master.php.net/note/delete/88004/bad+code Del: spam -- https://master.php.net/note/delete/88004/spam Del: non-english -- https://master.php.net/note/delete/88004/non-english Del: in docs -- https://master.php.net/note/delete/88004/in+docs Del: other reasons-- https://master.php.net/note/delete/88004 Reject -- https://master.php.net/note/reject/88004 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#148863) next »