Page 1 of 1
php session max size
Posted: Fri Jun 15, 2007 3:54 am
by phpdevuk
Morning, probably a stupid friday morning question, but does anyone know what the maximum size is I can put into a session variable? I'm thinking reading data in from a file and storing it in a session. My guess would be its probably the same as the maximum memory assigned to php, anyone know?
Posted: Fri Jun 15, 2007 4:07 am
by Oren
I can't remember for sure, but if memory serves, you are right.
But may I ask why can't you hold the file path in the session instead?
Posted: Fri Jun 15, 2007 4:20 am
by phpdevuk
good question, not entirely sure on the answer all I know is someone asked me for session max size in relation to reading a file in and storing it in a session, couldn't find any useful guides to it so figured i'd ask.
Posted: Fri Jun 15, 2007 8:15 am
by feyd
Last I checked there was no limit specifically imposed.