[Templates] AuthenHandler and TT2Params params (my params are gone...)
[prev]
[thread]
[next]
[Date index for 2004/07/18]
Hello,
A working Authentication Handler I just wrote has a nasty side-effect:
I can't seem to get access to the params hash array in my template
anymore.
I tried to figure out were the breaking point was:
- sub handler { return OK; } # Is OK
- sub handler { my $r = shift; return OK; } # Is OK
- sub handler { my $r = Apache::Request->new(shift); return OK; } # Is OK
Reduced to any of those, my handler is rather useless but I still can
acces params. But:
sub handler {
my $r = Apache::Request->new(shift);
$r->param('np'); # one I know exists...
return OK
} # Is NOT OK
Still useless but I stop having access to params.
So it seems that using once the param() method within my
authentication handler is what prevents me from accessing params
within my template later.
- Am I making any sense ?
- Why is this happening ?
- How do I get out ? ;)
Thanks in advance for any idea,
--
Olivier K
_______________________________________________
templates mailing list
templates@xxxxxxxxxxxxxxxx.xxx
http://lists.template-toolkit.org/mailman/listinfo/templates
 |
[Templates] AuthenHandler and TT2Params params (my params are gone...)
Olivier K 22:30 on 18 Jul 2004
|