Maximum size of a PHP session

Roch picture Roch · Jan 10, 2011 · Viewed 70.9k times · Source

What is the maximum size that can be stored in a PHP session?

Answer

Rudu picture Rudu · Jan 10, 2011

You can store as much data as you like within in sessions. All sessions are stored on the server. The only limits you can reach is the maximum memory a script can consume at one time, which by default is 128MB.

(Similar answers: Ideal PHP Session Size? - some useful comments)