Session not updating after some ajax call requests
I am updating a session using an ajax call. PHP public function mymethod() { //Session Increament $addrowcount=1; $addrowcount +=$this->session->userdata('row'); $this->session->set_userdata('row', $addrowcount); echo $addrowcount; } jQuery jQuery.ajax({url: "myurl.com/mycontroller/mymethod/",dataType: "json", async: false, success: function(data){}}); But the session is not updating or not getting increased after 20 to 23 ajax calls.
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.