On Tue, 2003-01-28 at 09:46, Garrett G. Hodgson wrote:
> i bet that's it.  there's a db connection stored in the session().
> what's the right way to maintain a persistent connection, vs. having to connect
> each time?

Probably to put it in a module global, like a dictionary keyed on the
username (assuming the connections are per-user).  You'd have to put in
code to recreate the session if there's no connection in the dictionary
-- like if the AppServer is restarted.  But other than that it should be
pretty simple.

-- 
Ian Bicking           Colorstudy Web Development
[EMAIL PROTECTED]   http://www.colorstudy.com
PGP: gpg --keyserver pgp.mit.edu --recv-keys 0x9B9E28B7
4869 N Talman Ave, Chicago, IL 60625 / (773) 275-7241



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to