<div dir="ltr">Hello, <div><br></div><div>Could someone please let me know the preferred method for sharing a database connection within a twisted.web.server instance? I've found that adbapi is the preferred method to avoid blocking when making database calls, however I'm still struggling how to share a database connection within the Site. </div>
<div><br></div><div>I would like to connect to the database when the server/site is executed and make that connection accessible to pages/classes within the Site. Could someone offer some advice?</div><div> </div><div><br>
</div><div>Thanks for the help.<br clear="all"><div><br></div>-- <br><div dir="ltr"><div>Matthew Wollenweber</div><div>Principal Security Engineer</div><div>DIT/Information Security Office</div><div>The George Washington University</div>
<div><br></div><div><a href="mailto:mwollenw@gwu.edu" target="_blank">mwollenw@gwu.edu</a></div><div><br></div><div><br></div><div><br></div><div><br></div><div><div><br></div></div></div>
</div></div>