Hi Guys,

I have just today started out with Javascript and can't seem to get this
snippet of code below to write the contents of "dat"
(testdatatestdatatestdatatestdatatestdatatestdata) to the cookie. Once I
have that working I can start trying it with some "real" data.

The following code is in the <body> of my test page.

****
<script language="javascript">
document.cookie="cookietest"
var exp = new Date()
var oneYearFromNow = exp.getTime() + (365 * 24 * 60 * 60 * 1000)
exp.setTime(oneYearFromNow);
var dat = "testdatatestdatatestdatatestdatatestdatatestdata"
document.cookie = "exp; expires=" + exp.toGMTString();
</script>
****

When I run this locally, my cookie gathers the following info :

exp~~local~~/C:\WINDOWS\Temporary Internet
Files\Content.IE5\6HTYRUP4\1088135140569629551474362368179229478048*

Any ideas?