Welcome Guest, Not a member yet? Register   Sign In
Sessions with database
#1

[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
#2

[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 Big Grin

I think it's solved Tongue




Theme © iAndrew 2016 - Forum software by © MyBB