Using Sessions for High Traffic with AJAX |
I still use CodeIgniter version 3.
I'm basing myself on this sentence from the session documentation (Session Library — CodeIgniter 3.1.13 documentation): Long story short - call session_write_close() once you no longer need anything to do with session variables. The problem is that sometimes I use session at the beginning of the code, then halfway through the code. In this case from what I understand the best thing would be for my code to be like this, correct? PHP Code: function setSession($index, $value) { |
Messages In This Thread |
Using Sessions for High Traffic with AJAX - by ElTomTom - 05-12-2022, 05:46 PM
RE: Using Sessions for High Traffic with AJAX - by InsiteFX - 05-13-2022, 12:41 AM
RE: Using Sessions for High Traffic with AJAX - by ElTomTom - 05-19-2022, 07:22 AM
RE: Using Sessions for High Traffic with AJAX - by InsiteFX - 05-19-2022, 11:51 PM
|