in reply to cookie encoding

I don't see where $req is assigned, but you try to call one of its methods. You can't call a method on undef, so unless I'm missing something, your code as it stands isn't viable. Chances are the server's error log will also tell you the same thing.


Sanity? Oh, yeah, I've got all kinds of sanity. In fact, I've developed whole new kinds of sanity. Why, I've got so much sanity it's driving me crazy.