note 76061 added to ref.session

From: Date: Thu, 28 Jun 2007 13:07:14 +0000
Subject: note 76061 added to ref.session
Groups: php.notes 
Request: Send a blank email to php-notes+get-128050@lists.php.net to get a copy of this message
Lima's note on sessions and browser's tabs needs to be modified for my version of php as the call to uniqid('') will return an alphanumeric string. Hence the ereg statement should be: if(!ereg('^SESS[0-9a-z]+$',$_REQUEST['SESSION_NAME'])) {... ---- Server IP: 194.145.210.4 Probable Submitter: 158.234.10.144 (proxied: 158.234.65.3) ---- Manual Page -- http://www.php.net/manual/en/ref.session.php Edit -- https://master.php.net/note/edit/76061 Del: integrated -- https://master.php.net/note/delete/76061/integrated Del: useless -- https://master.php.net/note/delete/76061/useless Del: bad code -- https://master.php.net/note/delete/76061/bad+code Del: spam -- https://master.php.net/note/delete/76061/spam Del: non-english -- https://master.php.net/note/delete/76061/non-english Del: in docs -- https://master.php.net/note/delete/76061/in+docs Del: other reasons-- https://master.php.net/note/delete/76061 Reject -- https://master.php.net/note/reject/76061 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#128050) next »