[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cgiapp] cgi_minimal compatible?


I've been using cgi::application (and html::template) for the last few days.
Wow, this is the cloest thing to perfection I've seen.

I believe the documentation should note that header_props should be set only
*after* header_type. I was setting my cookie after creating a session
tracking object. But, in some cases I would redirect the page later in the
method. It took me awhile to figure out why my cookie wasn't set. I think
it's ok to expect me to set the cookie later in my method. But, it would be
nice if the documentation noted that the header_type must be set first.

Also, can someone explain to me how cgi::application works with perl-mod?
I'm not very knowledgeable with perl-mod. (Only read the sample chapter at
O'Reilly). I'm trying to understand where a database handle would be
created, and statement handles (for pre-prepared reuse), in
cgi::application. Every invokation goes to "setup"? So, I'd do it there only
if the handles are undefined? There's not a pre-run sort of place these
things could go?

Thanks,
Mark


---------------------------------------------------------------------
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.