psychowolvesbane Posted February 8, 2008 Share Posted February 8, 2008 I have a website that's using more than one session running on a single page at any one time, but I don't know how to destroy a specific session and not all of them, which I don't want. Can anyone show me an example of destroying 1 on its own without effecting any others? Quote Link to comment https://forums.phpfreaks.com/topic/89990-solved-sessions-help/ Share on other sites More sharing options...
revraz Posted February 8, 2008 Share Posted February 8, 2008 How does one user have more than 1 session? Or do you mean there is more than 1 active session at a time? Quote Link to comment https://forums.phpfreaks.com/topic/89990-solved-sessions-help/#findComment-461380 Share on other sites More sharing options...
JacobYaYa Posted February 8, 2008 Share Posted February 8, 2008 I think he means he has like $_SESSION['somevalue']; $_SESSION['anothervalue']; just use unset() Quote Link to comment https://forums.phpfreaks.com/topic/89990-solved-sessions-help/#findComment-461381 Share on other sites More sharing options...
psychowolvesbane Posted February 8, 2008 Author Share Posted February 8, 2008 So would it be unset($_SESSION['Value']); ? Quote Link to comment https://forums.phpfreaks.com/topic/89990-solved-sessions-help/#findComment-461387 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.