Support the ongoing development of Laravel.io →
Authentication Authorization
Last updated by @tvbeek 1 year ago.
0
moderator

Hello @3hmdsh

Do you get any 404 error if you open the page on your hosting environment? In the past I had a problem like yours that was created because a missing 404 that resulted in a Laravel page that generated a new csrf token.

Ps, I have updated your post to have a more readable code blocks, besides that I think you post a lot for your question but I understand that it is because you don't know where to search.

0

thank you tvbeek for responding . No i didn't see any 404 error . sorry for that but i don't know where to search . Could the error be caused by HTTPS?

0
moderator

If you form is on http and you post to https or the other way around it can be a problem that the session is not known. (Also if there is a redirect on the request)

0

Sign in to participate in this thread!

Eventy

Your banner here too?

3hmdsh 3hmdsh Joined 17 May 2022

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.