On 24 Nov 2011, at 14:15, Johannes Kilian wrote:
* Isn't $c->user a persistent value within $c? When I try to
access to
c.user later (after "successfull" login) $c->user is undefined.
What is neccessary to make it persistent?
The session plugin (with a session store etc) needs to be setup for
authentication to persist across requests.
OK - have to figure out how to do this. BTW: would be nice if this
could be mentioned in the tutorial as well ...
It is:
http://search.cpan.org/~hkclark/Catalyst-Manual-5.9002/lib/Catalyst/Manual/Tutorial/05_Authentication.pod#Include_Authentication_and_Session_Plugins
Will get back about the actual problem later when I have a sec to
think :)
Cheers
t0m
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/