Curtis, Thank you lots!
> ( $q = $self->query() assumed before this)
Yes
> > $self->param('BASE' => $q->param('base'));
> > $self->param('USER' => $q->param('user'));
> > $self->param('PASS' => $q->param('pass'));
> > my $dsrc = "DBI:mysql:".$self->param('BASE');
> > $self->param('DBH' => DBI->connect($dsrc,
> > $self->param('USER'),
> > $self->param('PASS'),
> > {RaiseError=>1}));
>
> This is in setup(), correct? NOT in a run mode? If it is in a run mode,
> you're in trouble.
How can I properly send users' identity to the database engine then? Does
it mean I should bypass the connect stuff until I have the user+pass
parameters set up by the login form? How will my app's setup() know? Should I
base upon the particular runmode I am in?
> > I understand DBH is now a persistent parameter (as per my $self->param()),
> > // IS THIS RIGHT?
>
> Nope. None of these are persistent parameters. As soon as the page
> is finished displaying, the script is exited, and the parameters
> disappear, as well as the connection implicitly being disconnected.
<moron>Doh</moron>...!
Thank you, again!!!!
--
Eduardo Grosclaude [EMAIL PROTECTED]
Universidad Nacional del Comahue - Neuquen, Argentina
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]