Framework: Non persistance Session

Created on 4 Jul 2015  路  7Comments  路  Source: laravel/framework

I use file drive for session, but each new request will generate a new session file.

Most helpful comment

Problem solved.
caused by @endsection in the blade template,solved by changing to @stop.
maybe this should be mentioned in document.

All 7 comments

Haven't seen this before. Probably you're nginx is configured the wrong way. Can you give more information? Is this on a fresh install? Is this on homestead? Is this in production? Which versions?

Problem solved.
caused by @endsection in the blade template,solved by changing to @stop.
maybe this should be mentioned in document.

It works like a charm, thanks

@ileodo thanks, but mind to explain the logic behind that?

@fahmilatib It seems like the @endsection is only a close tag of @section in terms of template but not the rendering stuff.

This works for me. But I still don't understand why. Could anyone please explain? Appreciate!

Both tags compile identically, something else must be happening.

935EE41F-67D7-4F31-8B4F-9BE92BDB8238

Was this page helpful?
0 / 5 - 0 ratings

Related issues

digirew picture digirew  路  3Comments

gabriellimo picture gabriellimo  路  3Comments

SachinAgarwal1337 picture SachinAgarwal1337  路  3Comments

Fuzzyma picture Fuzzyma  路  3Comments

RomainSauvaire picture RomainSauvaire  路  3Comments