Consult session php language.

I"d like to ask about the use of session.
if I have a dozen pairs of data in my application, and there are three or four other configuration parameters corresponding to each data, it has to be close to a hundred values. I think it"s all saved with session, and just call the value of session directly. My idea is that if the user session is disconnected, these parameters are not needed, so is it feasible to directly use session as a parameter? Will there be other bug problems? Or if there is any bad influence, please give me some advice.

Php
Mar.11,2021

session default profile read and write. You can also set to save to memcache,redis. So here comes the question. How many values are occupied by a user, and then how much space does a user need to occupy? If the number of people online at the same time is not very large, and session recycling is done well, it is actually very reasonable to use session to do it.

Menu