Results 1 to 5 of 5

Thread: Animated Collapse cookie limit

  1. #1
    Join Date
    May 2009
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Animated Collapse cookie limit

    1) Script Title: Animated Collapsible DIV v2.2

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...edcollapse.htm

    3) Describe problem:

    If I use persistence with the script on a header zone of the site, it will automatically try to remember the status for each page, writing tons of cookies with page identifier.

    This will run Firefox out of cookies room (default50) for that domain so it will start erasing other website cookies like user session with quite annoying results.

    Any way to build a better management of cookies for this script by keeping all data under same cookie entry?
    Last edited by ddadmin; 06-02-2009 at 05:16 PM.

  2. #2
    Join Date
    Aug 2004
    Posts
    10,140
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Actually, the script shouldn't be creating tons of cookie values. It uses just two cookie names, both of which are site wide cookies by default. Can you provide more info on how cookies set by the script is over reaching itself?
    DD Admin

  3. #3
    Join Date
    May 2009
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    well, it takes the page and create unique ID for each cookie that is later used as cookie name.

    So for each new script in url it generates another cookie.

  4. #4
    Join Date
    Aug 2004
    Posts
    10,140
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Quote Originally Posted by crirus View Post
    well, it takes the page and create unique ID for each cookie that is later used as cookie name.

    So for each new script in url it generates another cookie.
    Are you using the old v1.x version of the script? If I recall correctly, that was how the cookies were set in that version, but the newer v2.x jQuery version does away with that.
    DD Admin

  5. The Following User Says Thank You to ddadmin For This Useful Post:

    crirus (06-03-2009)

  6. #5
    Join Date
    May 2009
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    I guess I am, I will try new one,

    thank you for support

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
  •