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

(This post was last modified: 06-29-2021, 03:25 PM by Gary.)

Because of it being a sideline issue at the time, and my poor recollection of exactly what was done, I may well be getting confused with session_close()... though, I do recall using and experimenting with the recommendations in the manual that you referenced... it may well have been other obtusities in related parts of my code falling over at the time.

Going on your recommendation, I've stuck in in session_write_close() in several places where I've purposefully blocked the code from exiting via the (after) Filters (using exit; to terminate)... just in case... and it didn't cause a problem.  Following that, in a bout of paranoia, I also stuck one of these session_write_close() at the end of the last (after) Filter... to ensure it will be called on every interaction.

Thanks includebeer.

As an aside, I see in my code there is now only a handful of exit; or exit('text_reason' || $message); in the system files (like system/Debug/Toolbar.php) that now terminate without a session_write_close()... possibly not important in many places (?), like the Toolbar that only exists in a non-production environment.
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