Document.Cookie Property Returns an Empty String

만료된 KB 콘텐츠 고지 사항

이 문서는 Microsoft에서 더 이상 지원하지 않는 제품에 대해 작성되었습니다. 따라서 이 문서는 “있는 그대로" 제공되며 더 이상 업데이트되지 않습니다.

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

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.

Status

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

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.
속성

문서 ID: 820536 - 마지막 검토: 2014. 6. 20. - 수정: 1

피드백