NYCPHP Meetup

NYPHP.org

[nycphp-talk] More questions about working with forms

David Krings ramons at gmx.net
Fri Dec 14 13:41:28 EST 2007


John Campbell wrote:
>> Is there anything drastically flawed with my approach?
>>
> 
> Since you understand the pitfalls of your approach and choose to do it
> that way it is not a problem.  You are also using sessions to prevent
> repeated hits to the database for "performance reasons".  Don't do
> that. It typically makes performance worse because session data must
> be serialized and written to disk on every request even if the data
> doesn't change.

So you are saying that a database access is faster than a file access? I find 
that hard to believe, but do not have any evidence of the contrary.

David



More information about the talk mailing list