There seems to be problem with cookie-param when the cookie is NOT set. The error is
[XPDY0002] No value assigned to $c. See code below for an example.
Thanks Andy; I have fixed this issue and updated the code (if the problem persists.. your feedback is welcome).