I create a large application, and I usually use a simple session to store private global information, however, since the application can be quite large, I believe this may be a problem due to the number of memory sessions that it might have.
Is there a better way to store such variables?
For example, when a user logs in, I want to store data about this user and display it where necessary, without having to query the database each time.
HenryH
source
share