Page 1 of 1

Basic Cookie Question

Posted: Tue Sep 27, 2005 10:11 pm
by jmueller0823
We're displaying a popup every thirty days via a cookie.

The particular js script we're using is folder-specific.

For example:
1. Visitor displays the home page-- the popup launches.
2. Visitor displays the home page again -- popup will not launch again for 30 days.

3. Visitor displays a page located in a sub-folder-- the popup launches.
4. Visitor displays a page located in a sub-folder again--popup will not launch again for 30 days.

and so on...

QUESTION
Is the above "default" behavior for a cookie?

WHAT WE WANT TO DO IS THIS
Regardless of what page a visitor displays, we want the the popup to ONLY
launch a total of one time every thirty days.

Is that possible? Thanks.

Posted: Tue Sep 27, 2005 10:22 pm
by feyd
yes, it's possible.. but that's all up to your page logic to only emit the popup code every 30 days or whatever..