home *** CD-ROM | disk | FTP | other *** search
/ PC World 2005 June / PCWorld_2005-06_cd.bin / software / vyzkuste / firewally / firewally.exe / framework-2.3.exe / test_cookie < prev    next >
Text File  |  2003-12-30  |  1KB  |  33 lines

  1. test_cookie
  2. <SimpleCookie: chips='ahoy' vienna='finger'>
  3. Set-Cookie: chips=ahoy;
  4. Set-Cookie: vienna=finger;
  5.   chips 'ahoy' 'ahoy'
  6. Set-Cookie: chips=ahoy;
  7.   vienna 'finger' 'finger'
  8. Set-Cookie: vienna=finger;
  9. <SimpleCookie: keebler='E=mc2; L="Loves"; fudge=\n;'>
  10. Set-Cookie: keebler="E=mc2; L=\"Loves\"; fudge=\012;";
  11.   keebler 'E=mc2; L="Loves"; fudge=\n;' 'E=mc2; L="Loves"; fudge=\n;'
  12. Set-Cookie: keebler="E=mc2; L=\"Loves\"; fudge=\012;";
  13. <SimpleCookie: keebler='E=mc2'>
  14. Set-Cookie: keebler=E=mc2;
  15.   keebler 'E=mc2' 'E=mc2'
  16. Set-Cookie: keebler=E=mc2;
  17. Set-Cookie: Customer="WILE_E_COYOTE"; Path=/acme;
  18.  
  19.         <SCRIPT LANGUAGE="JavaScript">
  20.         <!-- begin hiding
  21.         document.cookie = "Customer="WILE_E_COYOTE"; Path=/acme; Version=1;"
  22.         // end hiding -->
  23.         </script>
  24.         
  25.  
  26.         <SCRIPT LANGUAGE="JavaScript">
  27.         <!-- begin hiding
  28.         document.cookie = "Customer="WILE_E_COYOTE"; Path=/acme;"
  29.         // end hiding -->
  30.         </script>
  31.         
  32. If anything blows up after this line, it's from Cookie's doctest.
  33.