Puzzled escribió:
You don't mention what your DBMS is so I'll assume you're using the only
one that exists, MySQL. Check the max allowed packet size:
In old versions it defaulted to very small values.
--
-- http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
-- Mi sitio sobre programación web: http://bits.demogracia.com
-- Mi web de humor al baño María: http://www.demogracia.com
--
I'm running php4 and storing session data in a dedicated table.
To cut down on twiddle time in a particular app, I'm trying to
store a MB or so of r/o data in $_SESSION.
>
But when I get above a certain size while building the array, the
data fails to store and the error log shows a false "server went
away" complaint.
>
I'm guessing that I'm beating up some buffer somewhere, but I
can't figure out which one. Does the problem sound familiar to
anyone?
To cut down on twiddle time in a particular app, I'm trying to
store a MB or so of r/o data in $_SESSION.
>
But when I get above a certain size while building the array, the
data fails to store and the error log shows a false "server went
away" complaint.
>
I'm guessing that I'm beating up some buffer somewhere, but I
can't figure out which one. Does the problem sound familiar to
anyone?
one that exists, MySQL. Check the max allowed packet size:
In old versions it defaulted to very small values.
--
-- http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
-- Mi sitio sobre programación web: http://bits.demogracia.com
-- Mi web de humor al baño María: http://www.demogracia.com
--
Comment