Skip to main content

session expired

1. check ``SESSION_SECURE_COOKIE`` setting in ``.env`` or ``config/session``

if its true, then ssl is needed. if open webapp using ip without https. make it false

2. force https in ``AppServiceProvider``

if its true, then ssl is needed.

3. low ``output_buffering`` in php.ini

* open php.ini that been used in webserver
* increase output_buffering eg. ``output_buffering = 20000``

note: output_buffering [ob_](https://www.php.net/manual/en/function.ob-start.php) is used by php to cache the html that been render before submit to user. to increase client site performance.