skytiger33
Technical User
My boss gave me the following instructions to create a JavaScript cookie for our site. I have no idea how to do this. Any (helpful) suggestions are welcome!
When a visitor arrives at our site from an offsite link, the URL may look like this:
"
Create Cookie:
1. Detect a query string in a URL that brought a web site visitor to our web site.
2. If that query string exists, save it as a cookie.
3. Set the cookie to expire in a week.
Read Cookie:
1. Detect if values are assigned for specific variables
2. If assigned, provide ability to embed values into web pages and forms as a field default or the value of a hidden field.
When a visitor arrives at our site from an offsite link, the URL may look like this:
"
Create Cookie:
1. Detect a query string in a URL that brought a web site visitor to our web site.
2. If that query string exists, save it as a cookie.
3. Set the cookie to expire in a week.
Read Cookie:
1. Detect if values are assigned for specific variables
2. If assigned, provide ability to embed values into web pages and forms as a field default or the value of a hidden field.