note 63345 deleted from function.session-register by philip
| From: | philip@php.net | Date: | Fri, 06 Jun 2008 15:06:40 +0000 |
| Subject: | note 63345 deleted from function.session-register by philip | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-140186@lists.php.net to get a copy of this message | ||
Note Submitter: hairguy
----
I wasted about two days trying to figure out why some of my session data was being lost. The
problem occurred intermittently and I was nearly convinced it had to be a PHP bug.
Since my session data was being stored in mysql, I finally thought to check the definition of the
session table. The session data was stored in a column of type 'text' (which can only
hold 65,535 bytes of data).
Changing the session column to type 'mediumtext' (which can hold 16,777,215 bytes) solved
the problem.
Perhaps this tip will help someone else who may be experiencing similar session loss problems.