Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #2079
| From | Gregor Kofler <usenet@gregorkofler.com> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | Re: object in $_SESSION |
| Date | 2011-06-10 18:41 +0200 |
| Organization | A noiseless patient Spider |
| Message-ID | <isthf2$so6$1@dont-email.me> (permalink) |
| References | <22afddc3-4675-4838-af25-dc13aa75a2e0@c20g2000vbv.googlegroups.com> <4df1e1de$0$49177$e4fe514c@news.xs4all.nl> <ist719$lfm$1@dont-email.me> <f4c7831a-87e9-4ce2-9827-aee779a64664@hl1g2000vbb.googlegroups.com> |
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
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
object in $_SESSION Jivanmukta <jivanmukta@poczta.onet.pl> - 2011-06-10 01:02 -0700
Re: object in $_SESSION Erwin Moller <Since_humans_read_this_I_am_spammed_too_much@spamyourself.com> - 2011-06-10 11:20 +0200
Re: object in $_SESSION Gregor Kofler <usenet@gregorkofler.com> - 2011-06-10 15:43 +0200
Re: object in $_SESSION Jivanmukta <jivanmukta@poczta.onet.pl> - 2011-06-10 09:19 -0700
Re: object in $_SESSION Jerry Stuckle <jstucklex@attglobal.net> - 2011-06-10 12:34 -0400
Re: object in $_SESSION Gregor Kofler <usenet@gregorkofler.com> - 2011-06-10 18:41 +0200
Re: object in $_SESSION Jerry Stuckle <jstucklex@attglobal.net> - 2011-06-10 06:46 -0400
csiph-web