How can I fix when logging out from user page I am getting logged out from admin page aswell? : <p>I am creating a website with user login and admin login  but the problem is when I logout  if I logout from user page or admin page it logouts from the other page too  the reason is because when I logout I use <code>session_destroy()</code>but how can I fix this problem  should I do something else instead of <code>session_destroy()</code> ? </p>
