in reply to CAP::Session not writing cookie

No idea really, but I'd test with a cmdline tool (wget, curl or GET/HEAD from LWP) rather than a browser, so you can check the HTTP response coming back. Also, make sure you are using a full hostname (with dots in it) rather than a local alias for your dedicated server.

Browsers can be fickle things regarding when they honour cookies (depends on hostname and settings).