Performance Problem [solved] |
(08-16-2017, 09:46 PM)Paradinight Wrote: do you use ajax and session? So I was thinking about this. I understand if you had a lot of simultaneous AJAX, it would be advantageous to call session_write_close() as soon as possible for maximum speed. I have a small, low traffic site right now and it does not currently utilize AJAX. PHP usually calls session_write_close() automatically after code execution (and I was used to that happening), I read on the forum someone asked if it was okay to place it in __destruct() and the response was no and I didn't understand their reasoning, sorry I don't remember where I read that. If I want to simulate PHP's call on script completion where would I place session_write_close() or is there a way to turn that automation back on? Is that this variable? $config['sess_regenerate_destroy'] = FALSE; |
Messages In This Thread |
Performance Problem [solved] - by bitwiz - 08-16-2017, 05:46 PM
RE: Performance Problem - by kilishan - 08-16-2017, 07:50 PM
RE: Performance Problem - by bitwiz - 08-16-2017, 09:27 PM
RE: Performance Problem - by Paradinight - 08-16-2017, 09:46 PM
RE: Performance Problem - by bitwiz - 08-17-2017, 06:32 AM
RE: Performance Problem - by bitwiz - 08-17-2017, 07:22 AM
RE: Performance Problem - by Narf - 08-17-2017, 08:51 AM
RE: Performance Problem - by bitwiz - 08-17-2017, 09:06 AM
RE: Performance Problem - by bitwiz - 08-17-2017, 08:59 AM
RE: Performance Problem - by Diederik - 08-17-2017, 12:15 AM
RE: Performance Problem - by bitwiz - 08-17-2017, 08:51 AM
RE: Performance Problem - by bitwiz - 08-17-2017, 09:10 AM
RE: Performance Problem - by bitwiz - 08-17-2017, 10:02 AM
RE: Performance Problem - by Narf - 08-17-2017, 10:06 AM
RE: Performance Problem - by bitwiz - 08-17-2017, 10:42 AM
RE: Performance Problem - by bitwiz - 08-17-2017, 11:05 AM
RE: Performance Problem - by bitwiz - 08-17-2017, 11:43 AM
RE: Performance Problem - by bitwiz - 08-17-2017, 12:12 PM
|