Heratio Framework API Reference

SessionMiddleware
in package

Start the PHP native session using Symfony's cookie name.

Shares the session with Symfony's index.php by using the same cookie name ('symfony') and PHP native session storage. This enables dual-stack operation where authentication state is visible to both Heratio and Symfony request handlers.

Table of Contents

Methods

handle()  : mixed

Methods

handle()

public handle(Request $request, Closure $next) : mixed
Parameters
$request : Request
$next : Closure

        
On this page

Search results