title: Laravel : How to hide url parameter?
body: <p>Here the scenario is I want to pass a variable which will be send from one page to another and in next page it's gonna store through a form. So I have passed the variable from first page to second page through the URL. But I want to hide the parameter in the URL. How do I do it?</p>
  
  <p>Here is my route :</p>
  
  <pre><code>Route::get('/registration/{course_id}',[
     'uses'=&gt;'AppController@getregistration',
      'as'=&gt;'registration'
  ]);
  </code></pre>
  
  <p>And Controller :</p>
  
  <pre><code>public function getregistration($course_id)
  {        
      return view('index')-&gt;with('course_id',$course_id);      
  }
  </code></pre>
  
  <p>And first page this is how I send the value to first page:</p>
  
  <pre><code>&lt;li&gt; &lt;a  href="{{route('registration',['course_id' =&gt; '1'])}}"&gt;A&lt;/a&gt; &lt;/li&gt;
  </code></pre>