Re: DB Connection sample

Sam Vilain <sam-s9IUA/[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel
Message-ID <[email protected]>
Franco Marchesini wrote:
> Hi all
> I am new to the list
> I need example about fastcgi db connection (interbase is better)
> Can you help me?

Hi Franco,

FastCGI only deals with the interface between the web server and the
application server.  You need to look to your db libraries for examples
of how to connect to your database.

The only thing you need to be careful of in a FastCGI context, is that
if you are keeping connections open between requests, and fork(2)'ing or
making new threads, that the database connections don't get in each
other's way.  Otherwise, FastCGI applications are no different to other
applications.

HTH,
-- 
Sam Vilain, sam /\T vilain |><>T net, PGP key ID: 0x05B52F13
(include my PGP key ID in personal replies to avoid spam filtering)

___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.