diff --git a/src/Lemon/Http/Session.php b/src/Lemon/Http/Session.php index 31d99b7..2e97087 100644 --- a/src/Lemon/Http/Session.php +++ b/src/Lemon/Http/Session.php @@ -23,7 +23,12 @@ public function __destruct() return; } - session_commit(); + + try { + // well this is terrible + session_gc(); + session_commit(); + } catch (Exception $e) {} } /**