Re: How to terminate MySQL connection with session
Tuesday, September 12, 2006 11:31 PM
You can create a session listener but why would you want to hold onto a connection this entire time in the session? The database is going to timeout the connection sometime.
Why not use a connection supplied by looking up a Datasource from your app server?