Skip to content

Commit 50fb8d3

Browse files
committed
corrected session example
1 parent 0d3c369 commit 50fb8d3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

app/config/services.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@
2222
* Session Service Setup *
2323
*********************************************
2424
* To enable sessions in FlightPHP, register the session service.
25-
* Docs: https://docs.flightphp.com/en/v3/awesome-plugins/session
25+
* Docs: https://docs.flightphp.com/awesome-plugins/session
2626
*
2727
* Example:
28-
* $app->register('session', \flight\session\Session::class, [
28+
* $app->register('session', \flight\Session::class, [
2929
* [
30-
* 'cookie_name' => 'flight_session', // Name of the session cookie
31-
* 'timeout' => 3600, // Session timeout in seconds
30+
* 'prefix' => 'flight_session_', // Prefix for the session cookie
31+
* 'save_path' => 'path/to/my/sessions', // Path to save session files
3232
* // ...other options...
3333
* ]
3434
* ]);

0 commit comments

Comments
 (0)