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