title: How to unset/destroy all session data except some specific keys?
body: <p>I have some session data in a website. I want to destroy all session data when user click another page, except some specific keys like <code>$_SESSION['x']</code> and <code>$_SESSION['y']</code>.</p>
  
  <p>Is there a way to do this?</p>