home *** CD-ROM | disk | FTP | other *** search
/ Shocking The Web CD-ROM / SHOCK_CD.ISO / pc / tutorial / casestdy / ch14_csa / d4vers / cgi / cookiese.cgi < prev   
Encoding:
Text File  |  1996-06-21  |  409 b   |  18 lines

  1. #!/usr/local/bin/perl
  2.  
  3. # 1996 Eric Fixler/DXM
  4.  
  5. push(@INC,"cgi/");
  6. require "cgi-lib.pl";
  7. &ReadParse;
  8.  
  9. $cookieName = $in{'cookieName'};
  10. $cookieValue = $in{'cookieValue'};
  11. print "Set-Cookie: ".$cookieName."=".$cookieValue."; domain=.dxm.com; path=/;\n";
  12. #print "Content-Type: text/html\n\n";
  13. #print "Set-Cookie: ".$cookieName."=".$cookieValue."; domain=.dxm.com; path=/;\n";
  14. print "\n";
  15. print "\n";
  16. print "\n";
  17.  
  18.