Quoting "Mark A. Fuller" <suppressed>:
> From: Cees Hek <suppressed>
> >Have a look in the docs for the 'cgiapp_prerun' method and the
> 'prerun_mode'
> >method.
>
> Ok, I can do that. But, what is cgiapp_init's value proposition if
> "cgiapp_prerun" gives access to other things. In other words, what does
> "cgiapp_init" do that "cgiapp_prerun" does not? When would I want to use
> "cgiapp_init" and not "cgiapp_prerun"?
It is the time at which it is called that makes it interesting. "cgiapp_init"
is called before the 'setup' method is called. "cgiapp_prerun" is called right
before the runmode is executed.
It is a minor distinction, but it can be useful in some situatuation.
Personally I have ever only used "cgiapp_prerun" in my apps.
Cheers,
Cees
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/suppressed/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.