Re: Re: Reusing connections quixote 2

Arturo FM <[email protected]> Thu, 9 Nov 2006 18:18:45 +0100 (CET)
Newsgroups gmane.comp.web.quixote.user
Message-ID <[email protected]>
> Not if the sessions are stored persistently.  At
> worst the user will
> get an error screen if the server is killed in the
> middle of the
> request.  A reload in the browser will restore
> things.  
Yes, I know ;) But I prefer don't store sessions in
db.
 
> Meaning the chance of somebody
> doing a request
> at the moment you restart the server was not zero
> but it wasn't that
> high either.
OK!

> The pool would not recycle a connection while it's
> in use.  When it's
> in use it's not in the pool.
Yes, it's true! :)

> You don't have to get a connection for each query. 
> Get one at the
> beginning of the request and return it at the end.
OK! Good advice! 

I will try to test this issues in my application and I
will write to us soon.

Thanks a lot!

----------------------------
Arturo Fernandez (artufm at yahoo dot es)


	
	
		
______________________________________________ 
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y móviles desde 1 céntimo por minuto. 
http://es.voice.yahoo.com