Electrical Eng
University of Buckingham

Master of Science


Canberra , Australia

Start Date


End Date


12down vote

I had a similar issue and it was an easy fix.

Add this in your HTML meta tag area :


Then under your JQuery reference, add this code :

If you are using the HTML form submit (not AJAX) then you need to put :

{{ csrf_field() }} 

inside your form tags.

shareimprove this answer

answered Jul 7 '16 at 6:44

Jay Geeth


  • Where do I find the JQuery reference? – studentcoder Aug 24 '16 at 17:13

  • studentcoder, what do you exaclty mean? – Jay Geeth Aug 24 '16 at 17:26

  • In your answer up above you say that under the JQuery reference, to add the code " Under near that, add the code::  – Jay Geeth Aug 24 '16 at 17:31 

add a comment

up vote9down vote

You need to have this line of code in the section of your HTML document, you could do that by default , it won't do any harm:

And in your form you need to add this hidden input field:

Thats it, worked for me.

shareimprove this answer

answered May 3 '16 at 14:20



add a comment

up vote9down vote

I was about to start pulling out my hair!

Please check your session cookie domain in session.php config. There is a domain option that has to match your environment and it's good practice to have this configurable with you .env file for development.


Provider Information

University of Buckingham Canberra