[Catalyst] Problem with authentication

Tomas Doran bobtfish at bobtfish.net
Wed Apr 22 13:45:49 GMT 2009


Renee Bäcker wrote:
> Tomas Doran schrieb:
>> Erm, something wacky is going on here - how come you're rendering a
>> template if this is a redirect?
>>
>> Are you using RenderView, and can you show us your end action?
> 
> the end action is just a forward to the view class.

Don't do that. Use RenderView.

>> Although I may be totally wrong about the specifics, however isn't
>> anything in the log here to make out that the user data is being
>> serialized into your session at the end of the hit, or restored at the
>> beginning of the next hit, which is your issue..
> 
> do I have to do anything to ensure that the data is serialized??

Not throwing an exception would be a good start. :_)

If nothing else, delegating to the view and stuffing an error page into 
the response body for all of your redirects isn't too elegant..

Cheers
t0m



More information about the Catalyst mailing list