Are there limits for session variables?

后端 未结 4 1621
粉色の甜心
粉色の甜心 2020-11-27 16:07

As the title says, are there limits (if any) for session variables or they\'re considered as usual variables and can store equal amount of data?

I\'m lookin

4条回答
  •  一生所求
    2020-11-27 16:42

    It is completely specific to your web-server. For Apache, look here:

    http://httpd.apache.org/docs/trunk/mod/mod_session.html

    It even allows sessions to be stored in database by using mod_session_dbd. Therefore physical limits like 1 file per session can be overcome. Moreover, Apache can be configured to keep track of per user sessions stored on a particular server or group of servers for scalability.

提交回复
热议问题