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
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 =
I tried using
$self-dbh($dbh);- Didn't work for me
$self-query('dbh',$dbh) - Also didn't work for me
Did you try:
$self-param(dbh, $dbh);
?
our $dbh= etc. -- Works, but is this the right way?
Yes, it is ok. But it creates a global variable, if that's what you
wanted.
I have just set up a mailing list for CGI::Session.
To subscribe:
http://www.ultracgis.com/mailman/listinfo/cgi-session_ultracgis.com
I started receiving a lot of emails and I can't keep up with all
of them. So decided a mailing list would be a way to go.
Enjoy :-)
--
Sherzod
my $arrayref = $dbh-selectcol_arrayref(qq|
SELECT monitor_contact WHERE mc_id=?|,
undef, $account_id);
print $cgi-scrolling_list(-name=contacts,
-values=$arrayref,
-multiple = 1);
On
I am trying to get the values from a Config::Simple file into a
HTML::Template object through CGI::Application.
Yes, you are doing everything right assuming your configuration file
exists and is readible. But I guess your variable inside the template
might be wrong. Suppose you have the
Hi list.
Is anyone using CGI::Session in solaris?
Thanks
Sherzod
-
Web Archive: http://www.mail-archive.com/cgiapp@lists.vm.com/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL