Relative Content

Tag Archive for laravelsessionpostcorscsrf

Maintaining Sessions in Laravel POST Route with CSRF Protection Disabled

I need to create a route for POST requests in Laravel that will be accessed by external domains. I have disabled CSRF protection for this route, and it functions correctly. However, when I attempt to submit a form to this route, a new session is created for each request. I require access to the current session within that route. I appreciate any insights on this matter.