M
M
mrWan2018-04-02 22:53:53
PHP
mrWan, 2018-04-02 22:53:53

Where can I set the session size in php?

I googled about this topic and didn't find much. I read somewhere that the memory_limit setting is responsible for this, but there are doubts, share who knows

Answer the question

In order to leave comments, you need to log in

2 answer(s)
B
Boris Syomov, 2018-04-03
@mrWan

There are no configuration level restrictions.
At the level of various storages, there may be associated with a specific storage and its configuration.
More than memory_limit, of course, will not work - this is the total limit of memory allocation for script processing, but this is a strongly indirect limit ... =)
But sessions, in principle, are not designed to store large amounts of data, especially those that are by default on files . So, if you have such a question, it is likely that you are just doing something very wrong ...

A
Anatoly Kirsanov, 2018-04-02
@bitrixworkshop

Depends on where you store.
I didn't see the settings.
If in files - see that there is space on the disk.
If in a DB - the sizes of fields in the table.
If in memcached - depends on its settings. There will be a small session at all.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question