Welcome Guest, Not a member yet? Register   Sign In
Paginate Processor Load
#9

This is interesting. In CI3 there's a call to register_shutdown_function('session_write_close'); in the session library's constructor that is no longer there in CI4. It doesn't need to be called explicitly, but only if you want to release the session lock early. So I'm pretty sure it's ok to call exit() without closing the session. It will be closed anyway.
Source: https://www.php.net/manual/en/function.s...-close.php
Reply


Messages In This Thread
Paginate Processor Load - by Gary - 05-29-2021, 05:15 AM
RE: Paginate Processor Load - by InsiteFX - 05-29-2021, 05:17 AM
RE: Paginate Processor Load - by Gary - 05-30-2021, 03:22 PM
RE: Paginate Processor Load - by includebeer - 05-29-2021, 09:01 AM
RE: Paginate Processor Load - by includebeer - 06-04-2021, 02:16 PM
RE: Paginate Processor Load - by Gary - 06-19-2021, 12:42 PM
RE: Paginate Processor Load - by includebeer - 06-19-2021, 02:19 PM
RE: Paginate Processor Load - by Gary - 06-29-2021, 03:23 PM
RE: Paginate Processor Load - by includebeer - 06-29-2021, 05:12 PM
RE: Paginate Processor Load - by Gary - 06-30-2021, 04:37 PM



Theme © iAndrew 2016 - Forum software by © MyBB