Re: simple javascript cookie question

Giganews Newsgroups
Subject: Re: simple javascript cookie question
Posted by:  Evertjan (exjxw.hannivoo…
Date: 05 Sep 2006

alex.kemsley wrote on 05 sep 2006 in comp.lang.javascript:

> I am trying to write a simple script in vain.
> I need it to first check to see if the cookie exists
> then if not
> write one with two variable
> var ref = document.referrer
> var page = location.href
> I need this cookie to last just one day.
> This script is going to be used to send me this info in my formail so i
> can see how people got to my website and where they entered.

How can we know the script is so simple
if you do not show us wat you wrote?

What is a "formail"?

The Netherlands.
(Please change the x'es to dots in my emailaddress)


In response to

simple javascript cookie question posted by alex.kemsley on 5 Sep 2006