title: How to destroy only one session and other session are working as on
body: <pre><code>&lt;?php
  include('session_sty_chk.php');
  session_start();
  if(session_destroy()) // Destroying All Sessions
  {
  
  //echo "&lt;script&gt;alert('$login_sessionn log out successfully');&lt;/script&gt;";
  echo"&lt;script&gt;window.location.href = 'index_sty_chk.php';&lt;/script&gt;";
  //header("Location: index.php"); // Redirecting To Home Page
  }
  ?&gt;
  </code></pre>
  
  <p>above code is session destroy code.</p>
  
  <p>In my application i am create two session 
  Session name:-
  1:-admin,
  2:-society user</p>
  
  <p>when i am click on logout button then destoy the bothe admin and society user session.</p>
  
  <p>So sir i want destoy only society user session in the application so help me to solve it.</p>