Hi,
I am using the stock auth controllers that come with the laravel installation. they redirect fine to dashboard, but the sessions are not working. First, the session driver was set to file, so I tried changing it to cookie, It is not setting a cookie too.
I am using bitnami wamp stack, and using the laravel framework, that came with the stack. Can this be the problem? any settings that I overlooked? I am saying this because, I never had any problem working with sessions before, when I used WAMP Server and Installed laravel from command-line.
I thought that this was in the documentation I may have mis-read the documentation.
Edit: Re-read docs, it is in the docs: The Default Routes File
The default routes.php file is loaded by the RouteServiceProvider and is automatically included in the web middleware group, which provides access to session state and CSRF protection. Most of the routes for your application will be defined within this file.
Maybe the last word file should be changed to group.
@Prez: Still didn't fix my problem though. Now, a laravel session cookie is being set(wasn't being set previously). However, if I use middleware authentication to protect my dashboard route, the route keeps redirecting back to login page. Never goes to Dashboard.