You can send CSRF token in form.
<input type="hidden" name="_token" value="{{ csrf_token() }}">By:Xtreem Solution
I know how to add the token field into the forms, the problem is that it expires with the session and as explained, one of the forms on my site might take long to be filled and the session might expire. I'm looking for a way to keep the session and the token alive "forever" while the user is on the page with that form.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community