Re: For Consideration: MySQLSession support

2006-08-09 Thread Deron Meranda
On 8/9/06, Nicolas Lehuen <[EMAIL PROTECTED]> wrote: I think MySQL has also the support for INSERT OR UPDATE requests which are quite handy when implementing do_save. You probably mean the REPLACE statement, http://www.mysql.org/doc/refman/5.1/en/replace.html If you want something a little m

Re: For Consideration: MySQLSession support

2006-08-09 Thread Jim Gallacher
Nicolas Lehuen wrote: > Hi Earle, > > Thanks for your input. > > For the sake of performance, you way want to call a single "DELETE FROM > session WHERE accessed < ?" request instead of fetching all the session id > and access time from the database and calling a delete per session. See for > exa