Problems with sessions - crash cause found
| From: | Stanislav Malyshev | Date: | Mon, 17 Jan 2000 12:57:37 +0000 |
| Subject: | Problems with sessions - crash cause found | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-14710@lists.php.net to get a copy of this message | ||
Well, I've found the source of recent crashes with sessions on my
scripts. It was partially my bug, but it sums up to this:
session_register will crash if you give it invalid variable name, like
number 1. Not that giving "1" as a key won't crash it - just a number 1. I
hope this will help to eliminate the crash (and maybe it's worth to add a
warning in session_register about the thing).
--
Stanislav Malyshev stas@zend.com
+972-3-6139665