Home > Javascript, PHP, XHTML > Set Session Cookie And Popup

Set Session Cookie And Popup

November 30th, 2009

Hi,

simple job.

I have already a dhtml popup that slides nicely onto my page after a 2 second delay. It is available on every page on my website, but it is set in a session cookie to only appear once per user visit.

However, if I go to a 2nd page, the timer is reset to 2 seconds again.
If I got a 3rd page, it is reset again, and so on.

What I need is to create a script that lets the user go to as many pages as they want for 3 minutes, then the dhtml popup appears.

And it only appears once per user visit.

I can supply the original dhtml script for you to adapt.


Set Session Cookie And Popup

Comments are closed.
Bear