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.
|
|---|