ID: 40998 Updated by: [EMAIL PROTECTED] Reported By: jason dot polaris at gmail dot com -Status: Open +Status: Feedback Bug Type: Session related Operating System: Windows XP PHP Version: 4.4.5 New Comment:
What kind of session storage are you using? Previous Comments: ------------------------------------------------------------------------ [2007-04-04 19:02:35] jason dot polaris at gmail dot com Description: ------------ Currently I am trying to store a lot of data in the session (i.e. filename and things related to that particular file) However some filename(with full path) can be more than 300 characters, and it is not stored if I use the path as a $_SESSION key. Any key that contains less than 250 characters surely works well. Reproduce code: --------------- <?php session_start(); $_SESSION['asdklfjsldfkjsldkfj(more than 300 chars)']['ABC'] = 1; ?> Expected result: ---------------- When reloading (or redirect to another page that reads session) $_SESSION['asdklfjsldfkjsldkfj(more than 300 chars)']['ABC'] will equals to 1 Actual result: -------------- The session array ($_SESSION['asdklfjsldfkjsldkfj(more than 300 chars)']['ABC']) is simply not set ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=40998&edit=1