Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: storing DBI database handle in CGI::Session object ?

by spx2 (Deacon)
on Feb 13, 2008 at 01:01 UTC ( [id://667713]=note: print w/replies, xml ) Need Help??


in reply to Re: storing DBI database handle in CGI::Session object ?
in thread storing DBI database handle in CGI::Session object ?

I understand now.
My only experience with FastCGI was at installing an application
written using Catalyst to run with fastcgi.
How do I do this for a single script ? Is there any documentation somewhere
describing how to run a single script with FastCGI ?
  • Comment on Re^2: storing DBI database handle in CGI::Session object ?

Replies are listed 'Best First'.
Re^3: storing DBI database handle in CGI::Session object ?
by perrin (Chancellor) on Feb 13, 2008 at 01:41 UTC
    I'm sure there is, but I don't use FastCGI, so I'm not the best person to ask. I use mod_perl. If you want to learn about mod_perl, there's a lot of documentation at http://perl.apache.org/ and a mailing list that is friendly to newbies. If you want to learn about FastCGI, try looking it up on CPAN or posting a new question here about it.
Re^3: storing DBI database handle in CGI::Session object ?
by kirillm (Friar) on Feb 15, 2008 at 11:31 UTC

    To run CGI scripts persistently, you can also use CGI::SpeedyCGI. With this module, a script can be made persistent by changing #!/usr/bin/perl to #!/usr/local/bin/speedy (or what the path to the speedy binary is on your system). Then you can keep database handles in that persistent process.

    -- Kirill

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://667713]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2024-04-25 17:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found