odd cookie issue (I think)

Discussion in 'ASP .Net' started by darrel, Jun 1, 2006.

  1. darrel

    darrel Guest

    Our CMS application, when you log in, writes a cookie to your computer and
    stores a variety of permission variables that pertain to you.

    Whenever we update data in the CMS in our application, we grab these
    variables from the cookie.

    This works. Usually. Once in a while, though, it doesn't grab the variable
    from the cookie. It's just empty, which gives us an error down the road. Hit
    save again, and things are back to normal.

    Any reason for this?

    -Darrel
     
    darrel, Jun 1, 2006
    #1
    1. Advertisements

  2. darrel

    vMike Guest

    Whenever I add or change a cookie, I always reset the expiration and add it
    back to the response cookie. I read somewhere that you need to do that even
    if the original cookie it not expired. You may want look into that
    possibility.
    Mike
     
    vMike, Jun 1, 2006
    #2
    1. Advertisements

  3. darrel

    darrel Guest

    Your job is to reproduce this behavior consistently

    Ha! Yes. I do wish... ;o)

    -Darrel
     
    darrel, Jun 1, 2006
    #3
  4. darrel

    Ray Booysen Guest

    Its actually half a joke. ;) If you're wanting help, you're going to
    need to trace this back to the offending issue.

    Have fun! :)

    Regards
    Ray
     
    Ray Booysen, Jun 1, 2006
    #4
  5. darrel

    darrel Guest

    Its actually half a joke. ;) If you're wanting help, you're going to
    Oh, I know. I wish I could. We can't replicate it though. It's more like a 1
    out of 10 times type of thing.

    We're doing some shot-in-the-dark stuff, but thought I'd ask in case there
    is some known issue with using cookies like this.

    -Darrel
     
    darrel, Jun 1, 2006
    #5
  6. darrel

    darrel Guest

    Whenever I add or change a cookie, I always reset the expiration and add
    Good idea...will check into that!

    -Darrel
     
    darrel, Jun 1, 2006
    #6
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.