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

  • Thread starter Thread starter davidw
  • Start date Start date
D

davidw

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!
 
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
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.
 
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.
 
davidw said:
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.

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
 
Back
Top