mardi 3 novembre 2015

Losing Session when get request header is too long

I'm having a problem with my application. I created a filter panel on which the users can select multiple parameters and then I pass them to a GET request that hits a function inside a controller that returns the results. All this is very basic stuff, I had no problem implementing this. But my application uses uuids and the request URI gets very long. That results to losing my current session, log out current user and Laravel to generate a new session token. The URI is something like this:

http://ift.tt/1k7Z8bp

Why is this happening? Is there a max header character count for GET request? Can I get through this? I don't want to use a POST request, I don't think it's the right way to do a search.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire