MAXIMUS
08-01-2002, 04:09 AM
I need to write/find a very simple script that will store a self-appointed integer as a cookie.
However, I'm having problems reading the cookie back in from a different page.
My cookie creation is as follows:
<SCRIPT LANGUAGE="JavaScript">
document.cookie="my_location=12345;expires=Fri, 30-Nov-2003 00:00:00 GMT";
</SCRIPT>
So my question is, how can i view/edit the my_location variable from a different page?
However, I'm having problems reading the cookie back in from a different page.
My cookie creation is as follows:
<SCRIPT LANGUAGE="JavaScript">
document.cookie="my_location=12345;expires=Fri, 30-Nov-2003 00:00:00 GMT";
</SCRIPT>
So my question is, how can i view/edit the my_location variable from a different page?