You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When my tests tried to run a test that involved a session destroy, I got an error. Because MemorySession.php doesn't actually start the session using session_start, session_destroy doesn't work either.
Also, MemorySession.php's get and set methods aren't actually used, because the get and set are called from SessionManager.php.
I fixed this by adding methods to SessionManager.php:
Uh oh!
There was an error while loading. Please reload this page.
When my tests tried to run a test that involved a session destroy, I got an error. Because
MemorySession.php
doesn't actually start the session usingsession_start
,session_destroy
doesn't work either.Also,
MemorySession.php
's get and set methods aren't actually used, because the get and set are called fromSessionManager.php
.I fixed this by adding methods to
SessionManager.php
:Please let me know if this is correct, or if I'm missing something.
The text was updated successfully, but these errors were encountered: