![]() |
Sessions with database - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Sessions with database (/showthread.php?tid=43442) |
Sessions with database - El Forum - 07-11-2011 [eluser]Unknown[/eluser] Hi, I'm trying to improve my execution times and i'm seeing this: http://i.imgur.com/az7Rv.png CI is updating the database 6 times, always using the same information. Is this some problem I could have made? Thanks, rikardo_92 Sessions with database - El Forum - 07-11-2011 [eluser]Unknown[/eluser] After checking CI's code I saw that each use of set_userdata writes to the database. I was using this function 6 times in a row. Now I changed my code to use an array and reduced the execution time in 0.10 sec ![]() I think it's solved ![]() |