Click to See Complete Forum and Search --> : Reading Cookies Help needed!!


Tricky123
12-20-2002, 10:44 AM
Hi,

I have used a document.cookie() to write the following cookie

44
<?xml version='1.0' encoding='iso-8859-1'?><ECAS name='44'><Transaction_Date><TransDate><Trans_Date>12/12/2001</Trans_Date></TransDate></Transaction_Date>ECAS>
~~local~~/
1088
2060286208
29607702
47595008
29534277
*

As you can see, this stores some data in XML. However, What I need to be able to do is retrieve the cookie 44 and display the contents in a text area.

Could someone please help. All the cookie example code is too hard for me to understand!!!

Thanks and happy hols

swon
12-20-2002, 12:30 PM
Tricky, try this:

SetCookie(mycookie,value,expires,path,domain,secure)

Tricky123
12-20-2002, 12:38 PM
Thanks, but i really don't know what to do with this script!!!

Sorry,:(