Maximum length of data in a session

Question:

What is the maximum amount of information that can fit in a session by default? I now put a serialized array with different ids into it, when there are ten of them, everything is fine, of course, but what if the user enters 500-700 of them (this is unlikely to happen, but you never know), should we expect surprises?

Answer:

You can enter as much data. how many you want.
All sessions are stored on the server. The only thing is that you can reach the maximum memory limit for the script, which by default is 128 MB, which is unlikely

Scroll to Top