I dont have .env file, in session.php, the driver that we use is
file, but even if we change it too
database, it wont help
Try Sentinal if you are using L 5.1 for better session management.
Finally after long debugging, we found that there was an
Enter (Blank line) before
<?php tag in app/config/app.php , that ruin everything. On the linux there is no problem at all (site works like a charm), but on Mac with server on MAMP and Denwer (Windows), the site gives us the blank answer because of this small
Enter and the session is recreated everytime. I feel so stupid (((
If anyone else have the same problem , this might be the answer for you.
But how can i get if any blank lines or spaces in all these files is there any quick method to debug ?
Same problem here. Turned out I had a 'space' before <?php in my routes.php file. <duh>
dump() is what broke my session.
I was using it to send some visual output to the screen (I know I should have been using TDD) and this was causing my session to break.
Sign in to participate in this thread!
We'd like to thank these amazing companies for supporting us