title: Session put does not seem to be working properly
body: <p>I'm working with Laravel 5.8 and I wanted to make sure that users can submit a form only every 2 hours (as long as a session is alive).</p>
  <p>So I tried this at the Controller:</p>
  <pre><code>if(Session::has('request_has_been_sent')){
      return redirect()-&gt;back()-&gt;with('error', 'You just submitted a request and cannot submit a new one');
  }else{
      $withDraw = WithdrawWallet::create([
          'balance_value' =&gt; $request-&gt;balance_wallet,
          'can_draw' =&gt; $request-&gt;can_draw,
          'shaba_number' =&gt; $request-&gt;shaba_number,
          'first_name' =&gt; $request-&gt;first_name,
          'last_name' =&gt; $request-&gt;last_name,
          'description' =&gt; $request-&gt;desc,
          'status' =&gt; 'pending',
          'user_id' =&gt; auth()-&gt;user()-&gt;usr_id,
      ]);
      Session::put('request_has_been_sent');
  }
  
  return redirect()-&gt;back()-&gt;with('success','Your request was sent');
  </code></pre>
  <p>So by this, everytime a user submits a new request, session <code>request_has_been_sent</code> must be set.</p>
  <p>Therefore at the next time user submits the form, if the session was still alive, the message <em><code>You just submitted a request and cannot submit a new one</code></em> appears.</p>
  <p>But now the problem is it does not work. In fact user can still submit another request, right after submitting a request.</p>
  <p>This means that the session is not set somehow.</p>
  <p>So what's going wrong here? How can I properly do this?</p>