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.
Asked: 2021-08-09 11:00:00 +0000
Seen: 8 times
Last updated: Sep 16 '22