Re: Session performance

From: Date: Tue, 02 Mar 2004 17:12:34 +0000
Subject: Re: Session performance
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-179273@lists.php.net to get a copy of this message
i got that doubt too than i checked the manual: http://www.php.net/session seems like it can cache, but the default is no cache using http://br.php.net/manual/en/function.session-cache-limiter.php , you can tune it (dont know how good it would do it) anyway... i use mysql heap table (it stays on ram) for storing session and anything else that i need to access fast Thiago Silva wrote:
Hello all, I was wondering... Why session data are stored on files rather than in on memory? People have been telling that acessing session data can be slow, and I need some kind of (fast) caching mechanism to store application data. After some search I found some php code that handles the session with a mysql database. But still, I don't know how fast (or slow) this can be. In general, I will need to cache data (some objects...sometimes kindda big) on, basically, every request and the fact that session data are stored in files scares me a bit. And one more thing...php5 has the same php4 session mechanism??


« previous php.general (#179273) next »