On Wednesday, September 19, 2012 3:54:12 PM UTC-4, ProfessionalIT wrote:
>
> How to implement this ?
>
> When I init the request I need open a connection with the database (and 
> execute a query for example) and in the end of the request I need close the 
> database connection. 
>
>
Por que fechar a conexão?

Normally, for performance, you want to open the connection as soon as you 
get a chance and _keep_ it open. What problem are you trying to solve?

Tchau,
Francois

--
Francois Dion
http://solarisdesktop.blogspot.com

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/webpy/-/4PjHkW2LyG0J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.

Reply via email to