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

Re: [cgiapp] my / our dbh handle (best way?)

2002-05-21 Thread Sherzod B. Ruzmetov
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.

[cgiapp] CGI::Session mailing list

2002-05-21 Thread Sherzod B. Ruzmetov
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

Re: [cgiapp] IS there an example anyone can share ?Re: [cgiapp] helpwith scrolling_list and htmltmpl from cgiapp

2002-05-30 Thread Sherzod B. Ruzmetov
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

Re: [cgiapp] Question on inheriting parameters (Config::Simple)

2002-05-31 Thread Sherzod B. Ruzmetov
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

[cgiapp] Anyone using CGI::Session in solaris?

2002-05-31 Thread Sherzod B. Ruzmetov
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