On Fri, Jul 28, 2006 at 11:42:40 -0400, [EMAIL PROTECTED] wrote:
> When I use session and authentication together under apache, I get this 
> error
> [error] Caught exception in engine "Can't store CODE items at 
> ..\..\lib\Storable.pm 
> (autosplit into ..\..\lib\auto\Storble\_freeze.al) line 290, at 
> D:/Perl/site/lib/Object/Signature.pm line 19"

It sounds like the authentication plugin is somehow storing a code
reference in the session (are you overriding the for_session method
in your user class? That's supposed to export a simplified data
structure that can be safely serialized and used to refetch the user
from the store efficiently - it sounds like it's giving back a code
ref).

Object::Signature is used to make sure that the session is only
written to the database if it changed, in order to save unnecessary
IO and to eliminate possible race conditions.

> I do not get this error using the myapp_server.pl server.

That's very odd...

Please post code/configuration if you can.


-- 
  Yuval Kogman <[EMAIL PROTECTED]>
http://nothingmuch.woobling.org  0xEBD27418

Attachment: pgpNLxKiYKqcQ.pgp
Description: PGP signature

_______________________________________________
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/

Reply via email to