in reply to Safe objects

As noted above this: %$self = %$newSelf; is really suspicious. (Update: actually, it is just unnecissary.)

But wait! There's more!

The default serializer of CGI::Session cannot thaw frozen objects properly. You have to use FreezeThaw as the serializer.

This is documented in CGI::Session::Serialize::Default but I never even knew it existed that one until I started looking for it.

More information: http://author.handalak.com/archives/112003/000364

Hope this helps.
Joost.

Replies are listed 'Best First'.
Re^2: Safe objects
by jplindstrom (Monsignor) on Jul 09, 2004 at 14:11 UTC
    Heh! When trying to figure out what happened, I actually read that page, but only the details about freeze and thaw to see if it said anything about this.

    But not the warning one line down... Doh! :)

    /J