Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

One solution is to store the variables in a persistent storage such as a database or a file system. When the user logs in again, the Login_Authenticate function can retrieve the variables from the storage and set their values accordingly. Another solution is to use session management, where the variables are stored in a session object that persists between multiple requests from the same user. This session object can be stored either on the server or on the client side, depending on the implementation.