Welcome Guest, Not a member yet? Register   Sign In
session()->stop() not destroying data
#14

(05-06-2023, 09:56 PM)Crenel Wrote:
Quote:To clear the current session (for example, during a logout), you may simply use either PHP’s session_destroy() function

Nope!

This part was due to my error. The session_destroy() function provided by PHP does work. However, $session->stop() does not. I upgraded to CI 4.3.4 just to make sure this is still relevant. This is on a system still using PHP 7.4.

It looks like this may be a long-term problem. There's an old Github issue about this. That issue was closed with the claim that "it's all working as it should" (with data still present after stop()) despite a prior statement from the same person that the data "shouldn't be" still present.
Reply


Messages In This Thread
session()->stop() not destroying data - by beng - 04-22-2020, 03:51 PM
RE: session()->stop() not destroying data - by Crenel - 05-08-2023, 12:04 AM



Theme © iAndrew 2016 - Forum software by © MyBB