title: Laravel session data not aging
body: <p>I'm not entirely sure the title is correct as I could not yet figure out how I got to this problem.</p>
  
  <p>What I have:</p>
  
  <ul>
  <li><p>simple model with 2 fields</p></li>
  <li><p>crud controller </p></li>
  <li><p>on create / edit I process the data and redirect with some info. info is passed by one of 2 methods:</p></li>
  <li><ul>
  <li><code>session()-&gt;flash("key","info")</code></li>
  </ul></li>
  <li><ul>
  <li><code>redirect()-&gt;route("route.name.here")-&gt;with("key","info")</code></li>
  </ul></li>
  </ul>
  
  <p>I added (to the bottom of my layouts blade file) a line to see what is stored in session hoping I'd get a clue on what's going wrong</p>
  
  <pre><code>@dd(session()-&gt;all(),session("_flash"),session("key"))
  </code></pre>
  
  <p>What is my actual problem? I get the same info again and again. </p>
  
  <ul>
  <li>create new instance and flash confirmation to user</li>
  <li>valdiation returns with error message</li>
  </ul>
  
  <p>It does not matter which one happens I get the returned info again on each successive page call. If I do something to get a new message that message replaces the old one and stays with me on every page of my site. (even the home-page that does nothing but give you some "lorem ipsum" text)
  If the last info was an error due to failed validation I also keep the old inputs.
  The index-page only loads the instances and loads the view file (with the data).
  For example switching through the pages of the index file (I am using laravels pagination as found in the docs) and due to the dump output I can see that nothing in "session" changes (that includes the entry with key "_token". I thought this one should change but I currently can't check with a working site). The form to create a new instance (of the model) is included in the index-page (Bootstrap card header with inline form as it only requries 1 field).</p>
  
  <p>What did I already try?</p>
  
  <ul>
  <li>clear the cache</li>
  <li>delete session files (the get created again)</li>
  <li>restarting apache</li>
  <li>rebooting the server (similar to raspberry pi)</li>
  </ul>
  
  <p>I could not figure out how I fk'd this up and am hoping for some pointers</p>
  
  <p>System:</p>
  
  <ul>
  <li>PHP: 7.3.0alpha4</li>
  <li>Laravel: 5.6.29</li>
  <li>Session handling: file</li>
  <li>OS: Ubuntu 18.04.1 LTS</li>
  </ul>
  
  <p><strong>Edit:</strong>
  I was able to check the <code>_token</code> key with a different laravel installation and the value changes with every page load. Looks to me there is a problem with session handling but I can't figure out where as it only has partial problems (writing something new to it obviously works but changing seems to run into a problem)</p>
  
  <p><strong>Edit2:</strong></p>
  
  <ul>
  <li><a href="https://pastebin.com/AKmiVaaY" rel="nofollow noreferrer">index + edit methods</a></li>
  <li><a href="https://imgur.com/a/tKDQKtE" rel="nofollow noreferrer">imgur - index page including create form</a></li>
  <li><a href="https://pastebin.com/vbkPV6ZH" rel="nofollow noreferrer">Request used for edit method</a></li>
  <li><a href="https://pastebin.com/bQz6uweK" rel="nofollow noreferrer">session data output in blade file</a></li>
  </ul>