title: Close session laravel with id
body: <p>How I can close session with id in logout method of auth? In post controller, in method show I set session:</p>
  
  <pre><code> session(["is_model_open_post_id" . $post-&gt;id =&gt; false]);
  </code></pre>
  
  <p>But when user logout, I need close this session, set true.</p>
  
  <pre><code> session(["is_model_open_post_id" . $post-&gt;id =&gt; true]);
  </code></pre>
  
  <p>But I don't know How I can get id of post in method logout.</p>