PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I am having a problem with my session. The scenario is this, whenever a user logs on to my application it creates a session then after the user is done he must log off so the session will end. But what if the user does not log off, he just close the browser then he logs on again as a different user and the session timer does not yet reach the the timeout that I set, and since the session is still active the user will see the profile of the previous user not the one he logged on. How will I correct this problem? Tnx
But whenever I close the browser and relogon as a different user, the profile that I see is the previous user not the one i logged on. what seems to be the problem here? tnx