home *** CD-ROM | disk | FTP | other *** search
/ PC World 2001 April / PCWorld_2001-04_cd.bin / Software / TemaCD / webclean / !!!python!!! / BeOpen-Python-2.0.exe / TEST_COOKIE < prev    next >
Encoding:
Text File  |  2000-08-24  |  906 b   |  28 lines

  1. test_cookie
  2. <SimpleCookie: vienna='finger' chips='ahoy'>
  3. Set-Cookie: vienna=finger;
  4. Set-Cookie: chips=ahoy;
  5.   vienna 'finger' 'finger'
  6. Set-Cookie: vienna=finger;
  7.   chips 'ahoy' 'ahoy'
  8. Set-Cookie: chips=ahoy;
  9. <SimpleCookie: keebler='E=mc2; L="Loves"; fudge=\012;'>
  10. Set-Cookie: keebler="E=mc2; L=\"Loves\"; fudge=\012;";
  11.   keebler 'E=mc2; L="Loves"; fudge=\012;' 'E=mc2; L="Loves"; fudge=\012;'
  12. Set-Cookie: keebler="E=mc2; L=\"Loves\"; fudge=\012;";
  13. Set-Cookie: Customer="WILE_E_COYOTE"; Path=/acme;
  14.  
  15.         <SCRIPT LANGUAGE="JavaScript">
  16.         <!-- begin hiding
  17.         document.cookie = "Customer="WILE_E_COYOTE"; Path=/acme; Version=1;"
  18.         // end hiding -->
  19.         </script>
  20.         
  21.  
  22.         <SCRIPT LANGUAGE="JavaScript">
  23.         <!-- begin hiding
  24.         document.cookie = "Customer="WILE_E_COYOTE"; Path=/acme;"
  25.         // end hiding -->
  26.         </script>
  27.         
  28.