dcsimg
www.webdeveloper.com
Page 2 of 2 FirstFirst 12
Results 16 to 19 of 19

Thread: Session cookies being deleted without being coded to do so

  1. #16
    Join Date
    Dec 2002
    Location
    St. Louis, MO, USA
    Posts
    1,582

    I'm about to pull my hair out..

    This is very frustrating.

    On development, it is working with no problems, whatsoever.

    On staging (as it probably will on production), here is what it's doing:

    If "expand all" is clicked, this is the cookie value:
    Code:
    vddstatus
    cat1,1|cat2,1|cat3,1|cat4,1|cat5,1|cat6,1|cat7,1|cat8,1|cat9,1
    domain.com/
    1088
    1060073856
    33063389
    2884050624
    30125481
    If "hide all" is clicked, this is the cookie value:
    Code:
    vddstatus
    cat1,0|cat2,0|cat3,0|cat4,0|cat5,0|cat6,0|cat7,0|cat8,0|cat9,0
    domain.com/
    1088
    1060073856
    33063389
    2884050624
    30125481
    If any individual "hide" or "expand" is clicked, this is the cookie value:
    Code:
    vddstatus
    TLTUID=29A2C6BA180E1018889AF39A9D19E869
    domain.com/
    1088
    1060073856
    33063389
    1613223328
    30125482
    Not only can I not see what is causing this to happen, but the fact that it is NOT doing this in development is really driving me up a wall. It's the same code on both servers.

    Any ideas?

    ^_^
    Share on Google+

  2. #17
    Join Date
    Jun 2017
    Posts
    1
    hi did you find the solution to this issue ? if yes, can you please share.
    Share on Google+

  3. #18
    Join Date
    Mar 2007
    Location
    localhost
    Posts
    5,001
    Stop wasting your time with cookies.

    Use localStorage and localSession objects where possible and only rely on cookies as a last resort.

    Theres many advantages over the use of localStorage, one being data size, another is persistence and privacy.
    --> JavaScript Frameworks like JQuery, Angular, Node <--
    ... and please remember to wrap code with forum BBCode tags:-

    [CODE]...[/CODE] [HTML]...[/HTML] [PHP]...[/PHP]

    If you can't think outside the box, you will be trapped forever with no escape...
    Share on Google+

  4. #19
    Join Date
    Oct 2013
    Location
    Sheboygan, Wisconsin
    Posts
    1,498
    01-06-2011, old thread
    Closing
    Share on Google+

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

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



Recent Articles