PDA

View Full Version : "Session" issue with Drop-in box



ProgramSupportHub
06-07-2013, 12:38 PM
1) Script Title: Drop-in Content box v2.0

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/dropinbox.htm

3) Describe problem: I added the option "freq" to my list of settings on the script with the value of "session" but the box continues to drop with every new page visit. See it here...

toolnook.com

jscheuer1
06-07-2013, 07:54 PM
Not here. That feature requires cookies turned on in the browser. Perhaps you have yours turned off.

Also the meaning of 'session' is once per browser session, which means that if you close the browser and open it again, it's a new browser session.

So my guess is either you have cookies turned off, or you've closed the browser before trying again.

Ah, but there does appear to be a problem in IE. To fix that in at least some versions of IE (9 and later), get rid of this:


<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7">

That shouldn't be though. I will test the original script in those browsers to see if its cookie works in those browsers.

jscheuer1
06-08-2013, 02:56 AM
It doesn't. It's a cookie bug in the script for IE 8 and less. Here's a corrected version of the script (right click and 'Save As'):

5084

ProgramSupportHub
06-09-2013, 05:11 PM
Thank You,
That did the trick. All is fine now.