Results 1 to 4 of 4

Thread: "Session" issue with Drop-in box

  1. #1
    Join Date
    Jun 2012
    Posts
    10
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default "Session" issue with Drop-in box

    1) Script Title: Drop-in Content box v2.0

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici.../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
    Last edited by jscheuer1; 06-07-2013 at 07:54 PM. Reason: Format

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    29,069
    Thanks
    44
    Thanked 3,216 Times in 3,178 Posts
    Blog Entries
    12

    Default

    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:

    Code:
    <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.
    Last edited by jscheuer1; 06-07-2013 at 08:05 PM.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    29,069
    Thanks
    44
    Thanked 3,216 Times in 3,178 Posts
    Blog Entries
    12

    Default

    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'):

    dropincontentbox.js
    Last edited by jscheuer1; 06-08-2013 at 03:48 PM. Reason: code improvement
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  4. The Following User Says Thank You to jscheuer1 For This Useful Post:

    ProgramSupportHub (06-09-2013)

  5. #4
    Join Date
    Jun 2012
    Posts
    10
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default

    Thank You,
    That did the trick. All is fine now.

Similar Threads

  1. Issue creating "On" state styling for Anylink Drop-Down Menus...
    By evanmiller2007 in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 02-22-2010, 05:59 PM
  2. Replies: 1
    Last Post: 06-09-2009, 05:38 AM
  3. Replies: 0
    Last Post: 04-11-2009, 08:48 AM
  4. Replies: 1
    Last Post: 08-19-2008, 01:36 AM
  5. Replies: 3
    Last Post: 08-06-2008, 02:17 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •