Background info.. I am using Laravel 4.2
now i just tried something, maybe it helps someone. Actually point 2 is weird for me (see below)
I display these 3 things:
Session::getId() Auth::getName() var_dump(Session::all())
I display them on "de.Aproject.com". Here I am logged in. and i display them on "en.Aproject.com"... Where I am still logged out (which I want to fix :D )
- The value of Session::getId() is different on both sides. Thats the problem I guess, they should share the same.
- The value of Auth::getName() is the same on both sides (login_82e5d2c56bdd0811318f0cf078b78bfc). Which I don't understand. Why does the second page have this value when i am not logged in?
- The value of Session::all() is ["login_82e5d2c56bdd0811318f0cf078b78bfc"] => string(17) "test@test.de" on the first side, on the second its empty. Thats correct.