in reply to Perl reading Cookies Set by Javascript

I've had mixed luck setting cookies without first specifying a patch. Try changing   ((path) ? "; path=" + path : "") + to something like   ("path=" + (path) ? path : "/") +