Re: [Webware-discuss] 'Lost connection to MySQL server during query'

2003-11-28 Thread Frank Barknecht
Hallo, Aaron Held hat gesagt: // Aaron Held wrote: > I had the same problem with pgSQL a little over a year ago. I'm a fan > of Postgres and have had million row tables, but you will get the same > connection issue. Late answer, but this week the shop I developed finally went (or had to go, x-

[Webware-discuss] Using Cookie from webkit

2003-11-28 Thread Uzo Uzo
I have  a SecurePage which is inherited from SitePage. In my awake cycle of the SecurePage, I handle authentication, if the authentication is successful, then I set my cookie.   I have something like this   def setMyCookie(self):    cookie = Cookie('val', 'key')    t = timestuff()    cookie.setExpi

RE: [Webware-discuss] dealing with expensive resources and thread -safety

2003-11-28 Thread Geoffrey Talvola
Max Ischenko wrote: > Aaron Held wrote: >> I usually create a dbpool and get /return a connection just when it >> is needed. The connections always exist, but they are shared between >> servlets. > > >> Lately I have been thinking that I should just create a new db >> connection in the __init__