The thing is the Content-Type is being called in another script (which is calling my script) which I can't change, so I'm stuck. Is there a way to disable the print header until after the cookie is set? I'm fairly new at this cookie thing, so any suggestions would be greatful!print "Content-Type: text/html\n"; my $cookieID = new CGI::Cookie(-name => 'MerchID', -value => $id); print "Set-Cookie: $cookieID\n";
In reply to Set Cookie Question by noniekimp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |