amt has asked for the wisdom of the Perl Monks concerning the following question:

For an integration project, I need to have my cookies be read by two different machines. Looking at the documentation, this is provided by:

$query->cookie( -name=>'oreo', -domain => '.somewhere.net' )

Disregarding any syntactical error above, the problem that I am having is that the machines that I'm bouncing between, do not have DNS entries. They are simply IP addresses, on the local network segment 192.168.*.*.

I'm looking to have the machines recognize the cookie, even thought it doesn't have a conventional -domain value.

Update: I'm a jerk, the answer has already been posted here, but this brings up another question. Can I specify network segments (i.e. 192.168.1.1/24)?
amt

Replies are listed 'Best First'.
Re: CGI->cookie question
by ikegami (Patriarch) on Aug 31, 2004 at 15:44 UTC
    According to the standard, 192.168.1.1/24 isn't valid.
Re: CGI->cookie question
by Anonymous Monk on Sep 01, 2004 at 06:04 UTC
    Update: I'm a jerk, the answer has already been posted here, but this brings up another question. Can I specify network segments (i.e. 192.168.1.1/24)?
    Don't be a jerk, RTF-RFC