Skip to main content
OCLC Support

Resolving 'Cookie Header Too Large' Issue on JSTOR through EZproxy

Applies to
  • EZproxy
Answer

After some extensive clicks and searches, you may notice your browser acting up with a 'cookie too large' error on JSTOR.

 

In the past, OCLC Support suggested adding an Option DomainCookieOnly directive to the JSTOR stanza as a solution. While this appeared to resolve the 'cookie too large' error, it unfortunately brought about some undesirable effects on certain areas of the site. As a result, we've reconsidered this recommendation, and we no longer advise making this change.

 

From: https://help.oclc.org/Library_Management/EZproxy/Configure_resources/Option_Cookie_Option_DomainCookieOnly_Option_NoCookie_Option_CookiePassThrough

 

"Option DomainCookieOnly specifies that EZproxy should attempt to perform all cookie handling itself, without involving remote user’s browser in cookie handling. The name of this option is somewhat misleading since it actually directs EZproxy to handle both domain and non- domain cookies. All cookies that are set by the web server using HTTP Set -Cookie will be stored by EZproxy and sent back to the remote web server without being presented to the remote user’s browser. Cookies set by JavaScript are blocked from reaching the remote web server."

 

Due to this behavior, cookies set by JavaScript won't be established when Option DomainCookieOnly is enabled, causing a hindrance to JSTOR functionality.

 

The Recommended Solution (pre-7.3):

To ensure a seamless experience on JSTOR through EZproxy, we recommend the following:

Clear Your Cache/Cookies: Regularly clearing your browser's cache and cookies can resolve issues related to cookie size and enhance overall performance.

Use Incognito/InPrivate Mode: Opt for browsing JSTOR through an Incognito or InPrivate window to avoid conflicts with stored cookies and ensure a fresh start for your session.

In 7.3 the Cookie Filter directive has been enhanced to help with this. Upgrade EZproxy to 7.3+, then in the the JSTOR stanza add these two CookieFilter lines ABOVE the URL line and restart EZproxy:

CookieFilter -local -block *
CookieFilter -local -process UUID
URL http://www.JSTOR.org/

Users might need to clear their browser's cache and cookies one more time to clear anything cached before this was set.

Page ID
52481