[Catalyst] disable session in authentication

Bernhard Graf catalyst3 at augensalat.de
Wed Dec 10 18:48:22 GMT 2008

I have an application that uses two different authentication methods 
based on C:P::Authentication:

The default realm uses Catalyst::Authentication::Credential::Password
with session and cookie for the usual web login with a username-password 
login screen.

For a REST service Catalyst::Authentication::Credential::HTTP is used.
With every request to this REST service, a useless session id and a 
cookie is created by C:P::Authentication automatically.

I found this config option "use_session" to disable sessions for 
authentication, but this seems to act globally. :-((

Is it possible to disable session usage for the HTTP auth realm only?
Bernhard Graf

More information about the Catalyst mailing list