FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » object in $_SESSION
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: object in $_SESSION [message #174413 is a reply to message #174411] Fri, 10 June 2011 16:41 Go to previous messageGo to previous message
Gregor Kofler is currently offline  Gregor Kofler
Messages: 69
Registered: September 2010
Karma:
Member
Am 2011-06-10 18:19, Jivanmukta meinte:
>> I frequently store objects in sessions, and have (when taking the
>> mentioned restrictions into account) never encountered any problems.
>
> I have one more question: is there any limit for maximum size of
> object in $_SESSION. I haven't found answer in manual but I have read
> somewhere in Internet that there's no such limit (there's only limit
> for memory PHP can serve).
> I ask because if HTML bank statement contains many positions, I will
> have big $statement object.

The session data is frequently stored on the server's file system, which
will hardly become the bottleneck. If your data would become too big to
store in the session, PHP will have killed your script with an out of
memory error long before. You can control the memory made available for
PHP scripts with the memory_limit setting in your PHP configuration file.

Gregor

--
http://vxweb.net
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: FDF extensions to PHP will not compile
Next Topic: Setting PDO::ATTR_ERRMODE to E_WARNING before connecting!
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 23 03:05:58 GMT 2024

Total time taken to generate the page: 0.04335 seconds