Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: CGI::Application - One time setup (scope/reuse/persistence)

by Anonymous Monk
on Apr 09, 2013 at 13:45 UTC ( #1027742=note: print w/ replies, xml ) Need Help??


in reply to CGI::Application - One time setup

Can someone please explain how, in CGI::Application to run code once per visit, so not once per click?

Use a persistent process, reuse the same object

See Re^3: In CGI::Application cgiapp_prerun vs. cgiapp_init?, Re: Refactor CGI::Application and supporting scrits


Comment on Re: CGI::Application - One time setup (scope/reuse/persistence)
Re^2: CGI::Application - One time setup (scope/reuse/persistence)
by Anonymous Monk on Apr 09, 2013 at 14:37 UTC
    Amazing, this and this -> http://www.cgi-app.org/index.cgi?FastCGI solve it for me, we don't have mod_perl

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2015-07-04 21:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls