get cookie

Discussion in 'JavaScript' started by mehdiali, May 13, 2008.

  1. #1
    hi there
    i visit a site and it set a cookie on my computer.
    i want to know is there any way that i can access to it?
    i want to know value and the name of it.
    how it set it, i mean it must some data to me, so can i get them?
    could i use form :
    var oXmlHttp = zXmlHttp.createRequest();
    oXmlHttp.open("get", "info.txt", true);
    oXmlHttp.send(null);
    displayCustomerInfo(oXmlHttp.response[/XML]);
    ...
    thank you
     
    mehdiali, May 13, 2008 IP