Suddenly, web folder doesn't send cookie back, any idea?

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

    Suddenly, web folder doesn't send cookie back, any idea?

    Hi,

    I have my webdav code, I am using cookie to verify user, so user login to
    our website first, like http://site, then they can open link
    http://site/webfiles and check "open as web folder", in my code, I will
    check cookie under http://site and control the user's permission. It worked
    fine, but recently, I found when user open http://site/webfiles from XP,
    there is no cookie return even the cookie is there. And the same action
    under window 2000 works fine. Any idea about this?

    Thanks!


  • Nick Malik [Microsoft]

    #2
    Re: Suddenly, web folder doesn't send cookie back, any idea?

    It is likely that the user has installed XP-Service Pack 2 which turned off
    cookies for that site. Your user needs to change their internet settings.

    --
    --- Nick Malik [Microsoft]
    MCSD, CFPS, Certified Scrummaster


    Disclaimer: Opinions expressed in this forum are my own, and not
    representative of my employer.
    I do not answer questions on behalf of my employer. I'm just a
    programmer helping programmers.
    --
    "davidw" <davidw@affinis ys.com> wrote in message
    news:%23lN4Qr7w FHA.2064@TK2MSF TNGP09.phx.gbl. ..[color=blue]
    > Hi,
    >
    > I have my webdav code, I am using cookie to verify user, so user login to
    > our website first, like http://site, then they can open link
    > http://site/webfiles and check "open as web folder", in my code, I will
    > check cookie under http://site and control the user's permission. It
    > worked
    > fine, but recently, I found when user open http://site/webfiles from XP,
    > there is no cookie return even the cookie is there. And the same action
    > under window 2000 works fine. Any idea about this?
    >
    > Thanks!
    >
    >[/color]


    Comment

    • davidw

      #3
      Re: Suddenly, web folder doesn't send cookie back, any idea?

      Thnaks.

      But not likely, We tested on several machines. The cookie is opened, our
      site relys on cookie, I can list out my site's cookie, and I can close the
      browser and reopen it and the cookie is still there.




      "Nick Malik [Microsoft]" <nickmalik@hotm ail.nospam.com> wrote in message
      news:WcadncrCFa _Eq6feRVn-jQ@comcast.com. ..[color=blue]
      > It is likely that the user has installed XP-Service Pack 2 which turned[/color]
      off[color=blue]
      > cookies for that site. Your user needs to change their internet settings.
      >
      > --
      > --- Nick Malik [Microsoft]
      > MCSD, CFPS, Certified Scrummaster
      > http://blogs.msdn.com/nickmalik
      >
      > Disclaimer: Opinions expressed in this forum are my own, and not
      > representative of my employer.
      > I do not answer questions on behalf of my employer. I'm just a
      > programmer helping programmers.
      > --
      > "davidw" <davidw@affinis ys.com> wrote in message
      > news:%23lN4Qr7w FHA.2064@TK2MSF TNGP09.phx.gbl. ..[color=green]
      > > Hi,
      > >
      > > I have my webdav code, I am using cookie to verify user, so user login[/color][/color]
      to[color=blue][color=green]
      > > our website first, like http://site, then they can open link
      > > http://site/webfiles and check "open as web folder", in my code, I will
      > > check cookie under http://site and control the user's permission. It
      > > worked
      > > fine, but recently, I found when user open http://site/webfiles from XP,
      > > there is no cookie return even the cookie is there. And the same action
      > > under window 2000 works fine. Any idea about this?
      > >
      > > Thanks!
      > >
      > >[/color]
      >
      >[/color]


      Comment

      • Nick Malik [Microsoft]

        #4
        Re: Suddenly, web folder doesn't send cookie back, any idea?

        "davidw" <davidw@affinis ys.com> wrote in message
        news:uMSpuV$wFH A.2232@TK2MSFTN GP11.phx.gbl...[color=blue]
        > Thnaks.
        >
        > But not likely, We tested on several machines. The cookie is opened, our
        > site relys on cookie, I can list out my site's cookie, and I can close the
        > browser and reopen it and the cookie is still there.
        >[/color]

        Did you try changing the settings?

        Go to IE, Tools->Internet Options
        Select the Privacy Tab
        Click the "Sites" button
        add your site. flag the site as "always allow"

        then see if it changes the behavior.

        Two more tests:

        If you delete the cookie, and visit the site, does it come back? (IOW, you
        may have an old cookie lying around).
        If you delete the cookie on the Windows 2000 box and visit the site, does
        the site work?

        Also, have you changed settings on the IIS side? Perhaps added a virtual
        directory instead of relying on a physical one?
        --- N


        Comment

        Working...