Thanks to all of you for the feedback.

Using mod_perl would be OK, I have it installed on my private box, but I'm
not sure my web host has.
The disadvantage with using mod_perl is that you become "host dependent".
You can install any missing Perl module on any host, but not a missing
mod_perl.

Using cookies would be OK, even if it is not that secure.
The disadvantage is that you become browser dependent (even if most browsers
nowadays enable cookies by default).
To me, cookies mainly should be used for temporary information, enhancing an
application.
Passing a password is a main function, where cookies should be avoided, if
possible (my opinion).

Returning to the original problem, trying to store the password in memory,
as a property (PARAMS) of the application object:
Is there any workaround for this, using Perl programming?
Using a SuperClass?
Overriding the CGI::Application's new() method?
Anything?

How to?:
***********************************
use MyApplication;
my $data='PASSWORD_FROM_FORM'; #How to???
my $my_application = MyApplication->new(
                              PARAMS => {
                               'data' => $data,
                      }
      );
***********************************

This works fine:
***********************************
use MyApplication;
my $data='CONSTANT';
my $my_application = MyApplication->new(
                              PARAMS => {
                               'data' => $data,
                      }
      );
***********************************


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to