in reply to Removing dot before cookie host/domain URL
Then load the page (and cookie) without the 'www' in the URL:#!/usr/bin/perl use CGI; $query = new CGI; $cookie1 = $query->cookie( -name=>'TheCookie', -value=>'anything ', -expires=>'+24h', -path=>'/', -secure=> 0); print $query->header(-cookie=>$cookie1); print"<html> <body> Done. </body> </html>"; print $query->end_html
|
|---|