Skip to content

Commit 34b61eb

Browse files
authored
Update Session.php
1 parent cf75d7d commit 34b61eb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Session.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ protected static function initialize()
2323

2424
static::$initialized = true;
2525
//if (session_module_name() == 'files') {
26-
// session_set_save_handler(new SessionHandler(), true);
26+
// session_set_save_handler(new FilesSessionHandler(), true);
2727
//}
2828
static::start();
2929
static::setCsrfToken();
@@ -85,7 +85,7 @@ public static function start()
8585
if (static::$sessionId) {
8686
session_id(static::$sessionId);
8787
}
88-
session_start();
88+
session_start(/*['read_and_close' => $_SERVER['REQUEST_METHOD'] == 'GET']*/);
8989
if (!static::$enabled) {
9090
foreach ($_SESSION as $k => $v) {
9191
if ($k != Debugger::$sessionKey) {

0 commit comments

Comments
 (0)