Laravel HTTP Session

Laravel HTTP Session

Laravel automatically regenerates the session ID during authentication if you are using the built-in LoginController.


The session configuration file is stored at config/session.php.

By default, Laravel is configured to use the file session driver, which will work well for many applications.

Driver Prerequisites

Using The Session

Adding Custom Session Drivers


Custom session driver should implement the SessionHandlerInterface.

Laravel HTTP Session — Structure map

Clickable & Draggable!

Laravel HTTP Session — Related pages: