I have 2 sites.
In one site this is true:
session_is_registered('site1sess')
and in the other one this is true:
session_is_registered('site2sess')
Those are the session names I give users on login. My problem is that when I logout from one site, I also logout in the other one because I use:
session_destroy();
What is the best way to logout from site1 or 2 deleting all the session variables from it? Thank you.