Help and Support
 

powered byLive Search

Document.Cookie Property Returns an Empty String

Retired KB ArticleThis article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
Article ID:820536
Last Review:September 9, 2003
Revision:1.1

SYMPTOMS

When you use client-side code (the Document.Cookie property) to write cookies, and then use the same method to retrieve the cookies, you may receive an empty string or the following error message:
ERROR_INSUFFICIENT_BUFFER

Back to the top

CAUSE

This problem may occur if the total size of the cookies that are stored in your domain is 4,096 bytes or greater. This is a limitation in the current version of Mshtml.dll.

Back to the top

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

Back to the top

MORE INFORMATION

To see that the cookies actually exist even though the Document.Cookie property cannot retrieve them, follow these steps:
1.Start Internet Explorer.
2.On the Tools menu, click Internet Options.
3.On the General tab, click Settings.
4.In the Settings dialog box, click View Files.

Back to the top


APPLIES TO
Microsoft Internet Explorer (Programming) 6.0

Back to the top

Keywords: 
kbprb KB820536

Back to the top

Article Translations

 

Other Support Options

  • Need More Help?
    Contact a Support professional by Email, Online or Phone.
  • Customer Service
    For non-technical assistance with product purchases, subscriptions, online services, events, training courses, corporate sales, piracy issues, and more.
  • Newsgroups
    Pose a question to other users. Discussion groups and Forums about specific Microsoft products, technologies, and services.