Welcome Guest, Not a member yet? Register   Sign In
How to use session()->close()?
#2

1) session_close is checking to see if your in environment testing mode then it will return else it will issue a session_write_close.

2) Difference is that close is doing what I said above. remove just removes session data by item or array.

If you use AJAX then you should do a session_write_close when finished with your sessions.

Hope that clarifies it for you.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
How to use session()->close()? - by Renta Ardhana - 07-17-2024, 10:02 PM
RE: How to use session()->close()? - by InsiteFX - 07-17-2024, 10:22 PM
RE: How to use session()->close()? - by ozornick - 07-17-2024, 10:43 PM
RE: How to use session()->close()? - by kenjis - 07-17-2024, 11:40 PM
RE: How to use session()->close()? - by InsiteFX - 07-18-2024, 02:53 AM
RE: How to use session()->close()? - by kenjis - 07-18-2024, 03:49 AM



Theme © iAndrew 2016 - Forum software by © MyBB