thangappan Posted February 2, 2009 Share Posted February 2, 2009 How can I handle session safely while login and especially in logout from one interface? How can I unset and destroy an variable that should not affect other applications which are currently running on the browser? Quote Link to comment https://forums.phpfreaks.com/topic/143453-session-handling/ Share on other sites More sharing options...
revraz Posted February 2, 2009 Share Posted February 2, 2009 Use unset to unset a session variable. Not sure what you mean by your first question. Quote Link to comment https://forums.phpfreaks.com/topic/143453-session-handling/#findComment-752581 Share on other sites More sharing options...
premiso Posted February 2, 2009 Share Posted February 2, 2009 Sessions are safe on their own, unless you decide to print them out. Since the session file is stored on the server, it cannot really be snooped or looked at unless your server is compromised. Shared hosting, you are not really safe. There are precautions you can take, but I do not know them. For further explanations, please elaborate. Quote Link to comment https://forums.phpfreaks.com/topic/143453-session-handling/#findComment-752583 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.