diff --git a/config/session.php b/config/session.php index ac0802b1..ed0c5428 100644 --- a/config/session.php +++ b/config/session.php @@ -48,6 +48,21 @@ return [ 'encrypt' => false, + /* + |-------------------------------------------------------------------------- + | Session Serialization + |-------------------------------------------------------------------------- + | + | The session serialization strategy determines how the array of session + | data will get serialized into a string for storage. Typically, JSON + | serialization will be fine unless PHP objects are in the session. + | + | Supported: "json", "php" + | + */ + + 'serialization' => 'json', + /* |-------------------------------------------------------------------------- | Session File Location