Thanx again, here's my code the file is named: http://cgi.tripod.com/aine_canby/cgi-bin/yop.cgi ------------------------------------------------------- Code ------------------------------------------------------- #!/usr/local/bin/perl -w use strict; use CGI; my $query = new CGI; my $cookie_out = $query->cookie( -name=>"MY_NAME", -value=>"Barry Griffin", -expires=>'+24h', -path=>'/aine_canby/cgi-bin', -domain=>'cgi.tripod.com', -secure=>0 ); print $query->header(-cookie=>$cookie_out); print $query->start_html("Cookie Test"); # DEBUG TO SCREEN print $query->p; print $query->header(-cookie=>$cookie_out); print $query->p; my $cookie_in = $query->cookie("MY_NAME"); if($cookie_in) { print $cookie_in; } else { print "Can't find the cookie"; } print $query->p; print $query->end_html; ---------------------------------------------------------- BROWSER DISPLAYS ---------------------------------------------------------- Set-cookie: MY_NAME=Barry%20Griffin; domain=cgi.tripod.com; path=/aine_canby/cgi-bin; expires=Monday, 27-Aug-2001 22:50:49 GMT Content-type: text/html Can't find the cookie ----------------------------------------------------------- Cookie Contains - MY_NAME Barry%20Griffin cgi.tripod.com/aine_canby/cgi-bin 0 782699264 29437766 42193056 29437564 *