RE: [cgiapp] HTML::Template Question and where is list archive?

2002-05-16 Thread Roy Rubin
I am just starting out using CGI::Application and would like to see an example of how to call HTML::Template and pass it param's? I was also looking for a cgiapp list archive that I could search to see if anyone else may have posted this and gotten a response. Is there a web based

[cgiapp] CGI::App and CGI::Session

2002-05-16 Thread Zachary Buckholz
What is the best way to combine CGI::Session and CGI::Application It was recommended that I use the cgiapp_init, which I am attempting to do. But do I set the $self-header_props inside the cgiapp_init sub then do nothing else. Or should I follow the CGI::Session docs and initialize a new

Re: [cgiapp] CGI::App and CGI::Session

2002-05-16 Thread Sherzod B. Ruzmetov
Hi But do I set the $self-header_props inside the cgiapp_init sub then do nothing else. Or should I follow the CGI::Session docs and initialize a new instance of CGI.pm and print the header directly from the cgiapp_init sub? If you are using CGI::Application, then you don't have to create

Re: [cgiapp] CGI::App and CGI::Session

2002-05-16 Thread Zachary Buckholz
Sorry to be a little slow about this, the code below does appear to working now. But I am concerned that it might not be the correct way of doing it. I seem to have a little disfunctional code at the end; last two lines. Is that right? sub cgiapp_init { my $self = shift; my $q

Re: [cgiapp] CGI::App and CGI::Session

2002-05-16 Thread Zachary Buckholz
Thanks for your feedback, I am using the cookie constant as follows package Saint::WebApp; use base 'CGI::Application'; use strict; use CGI::Session::File; use constant COOKIE = saint; But I should propably be using .securitysaint.com - Original Message - From: Sherzod B.

Re: [cgiapp] CGI::App and CGI::Session

2002-05-16 Thread Sherzod B. Ruzmetov
use constant COOKIE = saint; But I should propably be using .securitysaint.com No, COOKIE constant was just a name of the cookie to be sent. It has nothing to do with the domain name. Alternative for using constant is to give the name for the cookie on the fly: $new_cookie =