Using Session with a lot of AJAX |
Yikes! The doc is wrong! session_destroy() or $session->destroy() will do exactly that, destroy the session and log out the user. You should call session_write_close() to save the session and release the lock. There's even a paragraph almost at the end of the page that says to use session_write_close():
Quote:Important
CodeIgniter 4 tutorials (EN/FR) - https://includebeer.com
/*** NO support in private message - Use the forum! ***/ |
Messages In This Thread |
Using Session with a lot of AJAX - by Jag81 - 12-08-2021, 09:33 AM
RE: Using Session with a lot of AJAX - by includebeer - 12-08-2021, 05:14 PM
RE: Using Session with a lot of AJAX - by gbwebapps - 12-11-2021, 05:04 PM
RE: Using Session with a lot of AJAX - by kenjis - 12-11-2021, 06:07 PM
RE: Using Session with a lot of AJAX - by kenjis - 12-08-2021, 06:45 PM
RE: Using Session with a lot of AJAX - by includebeer - 12-09-2021, 04:36 PM
RE: Using Session with a lot of AJAX - by gbwebapps - 12-12-2021, 11:49 AM
|