Dathremar Posted June 24, 2008 Share Posted June 24, 2008 I have a problem which i narrowed it down to two things: It is either a too large array to make (atm breaks when i try to array_push more the 9093 record) or the problem is when i try to write this variable into session. So I would like to ask you is there some kind of a max allowed size of array (variable) in php or session variable size? Post if i am not clear enough. Thx Link to comment https://forums.phpfreaks.com/topic/111659-array-or-session-variable-max-size/ Share on other sites More sharing options...
kenrbnsn Posted June 24, 2008 Share Posted June 24, 2008 Please post any relevant error messages the script is producing and the code. Ken Link to comment https://forums.phpfreaks.com/topic/111659-array-or-session-variable-max-size/#findComment-573145 Share on other sites More sharing options...
Dathremar Posted June 24, 2008 Author Share Posted June 24, 2008 The thing is that I dont get any error msg. Just the page stops loading. If i put a limit on my sql that gets the records fro db then the page loads ok and everything is fine. Link to comment https://forums.phpfreaks.com/topic/111659-array-or-session-variable-max-size/#findComment-573157 Share on other sites More sharing options...
Dathremar Posted June 24, 2008 Author Share Posted June 24, 2008 I think that the Session size is the problem. Do you know any recommended size for a session variables in php.ini. Atm it is set to 16 M. Link to comment https://forums.phpfreaks.com/topic/111659-array-or-session-variable-max-size/#findComment-573163 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.