How does IE implement cookies?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Eric

    How does IE implement cookies?

    Hello,

    I'm trying to debug a problem that some users of our ASP app see that
    goes away when they clear their cookies.

    I've gotten a copy of their cookie for our app and have renamed it
    from them@testsite[1].txt to me@testsite[1].txt. However, when I
    navigate to testsite, I see it create a me@testsite[3].txt. What are
    the rules as far as what gets written to the C:\Documents and Settings\
    %Username%\Cook ies?

    When does it increment the counter that's inside the []? Are there
    any articles that explain in depth how IE works with cookies?

    I don't really have any problems finding articles on how to read write
    cookies from within asp, etc. I
    don't really need any more information on this. I need to figure out
    out how the actual files work on the PC, in particular with IE6.

    In theory I would think that if the problem is with information stored
    in a cookie and I save another user's cookie on my machine, and change
    the filename to match my user name I should be able to reproduce it,
    but it doesn't seem to be working.

    Thanks,
    Eric

  • Eric

    #2
    Re: How does IE implement cookies?

    On Apr 11, 1:29 pm, "Eric" <eric.gofo...@g mail.comwrote:
    Hello,
    >
    I'm trying to debug a problem that some users of our ASP app see that
    goes away when they clear their cookies.
    >
    I've gotten a copy of their cookie for our app and have renamed it
    from them@testsite[1].txt to me@testsite[1].txt. However, when I
    navigate to testsite, I see it create a me@testsite[3].txt. What are
    the rules as far as what gets written to the C:\Documents and Settings\
    %Username%\Cook ies?
    >
    When does it increment the counter that's inside the []? Are there
    any articles that explain in depth how IE works with cookies?
    >
    I don't really have any problems finding articles on how to read write
    cookies from within asp, etc. I
    don't really need any more information on this. I need to figure out
    out how the actual files work on the PC, in particular with IE6.
    >
    In theory I would think that if the problem is with information stored
    in a cookie and I save another user's cookie on my machine, and change
    the filename to match my user name I should be able to reproduce it,
    but it doesn't seem to be working.
    >
    Thanks,
    Eric
    Also it seems that it keeps the cookie in 2 different places, c:
    \document and settings\myuser id\cookies and C:\Documents and Settings
    \myuserid\Local Settings\Tempor ary Internet Files, what's up with
    that?

    -Eric

    Comment

    • Evertjan.

      #3
      Re: How does IE implement cookies?

      Eric wrote on 11 apr 2007 in microsoft.publi c.inetserver.as p.general:
      On Apr 11, 1:29 pm, "Eric" <eric.gofo...@g mail.comwrote:
      >Hello,
      >>
      >I'm trying to debug a problem that some users of our ASP app see that
      >goes away when they clear their cookies.
      >>
      >I've gotten a copy of their cookie for our app and have renamed it
      >from them@testsite[1].txt to me@testsite[1].txt. However, when I
      >navigate to testsite, I see it create a me@testsite[3].txt. What are
      >the rules as far as what gets written to the C:\Documents and
      >Settings\ %Username%\Cook ies?
      >>
      >When does it increment the counter that's inside the []? Are there
      >any articles that explain in depth how IE works with cookies?
      >>
      >I don't really have any problems finding articles on how to read
      >write cookies from within asp, etc. I
      >don't really need any more information on this. I need to figure out
      >out how the actual files work on the PC, in particular with IE6.
      >>
      >In theory I would think that if the problem is with information
      >stored in a cookie and I save another user's cookie on my machine,
      >and change the filename to match my user name I should be able to
      >reproduce it, but it doesn't seem to be working.
      >>
      >Thanks,
      >Eric
      >
      Also it seems that it keeps the cookie in 2 different places, c:
      \document and settings\myuser id\cookies and C:\Documents and Settings
      \myuserid\Local Settings\Tempor ary Internet Files, what's up with
      that?
      I fail to see what this has to do with ASP.
      That asp can set a cookie path in the header
      has nothing to do with how IE implements it.

      Perhaps a IE NG would be the place to ask.


      --
      Evertjan.
      The Netherlands.
      (Please change the x'es to dots in my emailaddress)

      Comment

      Working...