May 01
Please note that if you use a “|” sign in a variable name your entire session will be cleared, so the example below will clear out all the contents of your session.
<?php
session_start();
$_SESSION["foo|bar"] = "foo";
?>
According to this bugreport this behaviour is intended. http://bugs.php.net/bug.php?id=33786
Leave a Reply
You must be logged in to post a comment.
Recent Comments