어디서 쿠키 제한이 왔을까요? 브라우져의 특성인가요?

 

익스플러어는 RFC 2109의 미니멈 제한을 따른다고 되어 있습니다. (http://support.microsoft.com/kb/306070)

그 내용은 다음과 같습니다.

-       적어도 300

-       쿠키당 4096byte

-       Unique  host나 도메인에 20개까지

 

RTC 2109 (http://www.faqs.org/rfcs/rfc2109.html) RFC 2109 - HTTP State Management Mechanism 6.3을 보도록 하겠습니다.

, 브라우져(user agent) 특성에 따라 쿠키의 사이즈를 제한할 수 있다고 나오는군요. 제한도 없을 수도 있구요.

 

6.3  Implementation Limits

 

   Practical user agent implementations have limits on the number and

   size of cookies that they can store.  In general, user agents' cookie

   support should have no fixed limits.  They should strive to store as

   many frequently-used cookies as possible.  Furthermore, general-use

   user agents should provide each of the following minimum capabilities

   individually, although not necessarily simultaneously:

 

      * at least 300 cookies

 

      * at least 4096 bytes per cookie (as measured by the size of the

        characters that comprise the cookie non-terminal in the syntax

        description of the Set-Cookie header)

 

      * at least 20 cookies per unique host or domain name

 

   User agents created for specific purposes or for limited-capacity

   devices should provide at least 20 cookies of 4096 bytes, to ensure

   that the user can interact with a session-based origin server.

 

   The information in a Set-Cookie response header must be retained in

   its entirety.  If for some reason there is inadequate space to store

   the cookie, it must be discarded, not truncated.

 

   Applications should use as few and as small cookies as possible, and

   they should cope gracefully with the loss of a cookie.

'web' 카테고리의 다른 글

HTTP post 길이 제한??? (있다, 없다)  (0) 2007.08.23
session clustering  (0) 2007.08.22
apache redirect 설정.  (0) 2007.06.14
Trust in E-commerce  (0) 2006.07.20
FTP의 passive, active mode 설명  (0) 2006.02.20
Posted by '김용환'
,