Have you tried just using the IP address as the domain:
use CGI; my $query = new CGI; my $cookie = $query->cookie( -name => 'sessionID', -value => 'xyzzy', -expires => '+1d', -path => '/cgi-bin/', -domain => '182.1.1.1' ); print $query->header(-cookie=>$cookie);
This does print the domain as the IP address in the header so will get sent to the browser. *I have no idea whether this will work* but it may and logic suggests that it could/should. It depends on how the browsers work with the domain name. Certainly easy to try. If it works with one browser you best test the others :-)
cheers
tachyon
s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print
In reply to Re: Cookies using IP instead of Hostname
by tachyon
in thread Cookies using IP instead of Hostname
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |