note 56574 deleted from ref.session by danbrown
| From: | danbrown@php.net | Date: | Sun, 20 Jul 2008 18:29:30 +0000 |
| Subject: | note 56574 deleted from ref.session by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-142233@lists.php.net to get a copy of this message | ||
Note Submitter: php at stevegiller dot co dot uk
----
If you want prevent people directly setting, for example, a logged_in session variable to bypass
your checks using the url?logged_in=true system, a quick trick is to try the line
if (isset($_GET['logged_in'])) { die("Are you trying to take the mickey?"); }
before you do anything else.
I've not tested this heavily, but I'd value any discussion of its merits and potential
flaws ...