Welcome Guest, Not a member yet? Register   Sign In
Saving sessions data in database and non-persistent cookies
#2

[eluser]Edemilson Lima[/eluser]
I liked very much your implementation to save session vars in the database. In fact, it was my first idea too. But isn't the PHP native session engine made in compiled C code faster than any implementation made in PHP code?

My main concern is: how much these implementations using cookies or databases are better to save server resources? How does PHP native session behave when we have thousands of simultaneous users?

I think you could made it more flexible using $this->CI->config->item('sess_table_name') to get the name of the session database from the config file.


Messages In This Thread
Saving sessions data in database and non-persistent cookies - by El Forum - 12-25-2007, 11:45 AM



Theme © iAndrew 2016 - Forum software by © MyBB