<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 17, 2016 at 9:16 AM, Cantor, Scott <span dir="ltr"><<a href="mailto:cantor.2@osu.edu" target="_blank">cantor.2@osu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 2/16/16, 9:26 PM, "users on behalf of Jeremy Shapiro" <<a href="mailto:users-bounces@shibboleth.net">users-bounces@shibboleth.net</a> on behalf of <a href="mailto:jnshapiro@gmail.com">jnshapiro@gmail.com</a>> wrote:<br><br>
<br>
>I'm getting a 400 response to a shibboleth protected server due to the Cookie header exceeding the 8k limit.  My cookie header contains 8200 bytes, 56 instances of shibpost and 56 instances of shibstate.<br>
<br>
</span>That doesn't sound like any recent version, there were bugs a while back with cookie cleanup and limits on the number.<br></blockquote><div><br></div><div>This is shibboleth sp 2.5.1.</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class=""><br>
> Examples include:<br>
><br>
>_shibpost_1455658465_74a8=ss:mem:5366a7205e99c782f1361815f08e2bf885af6dd43732eca7c0fac2d087e693c3<br>
<br>
</span>I don't understand that either, that doesn't seem like anything it would be doing. The POST preservation is for application form interruption, I don't understand how it could be saving off that value.<br>
<br>
>_shibstate_1455674546_de35=https%3A%2F%<a href="http://2Fmyapp.example.com" rel="noreferrer" target="_blank">2Fmyapp.example.com</a> <<a href="http://2Fmyapp.example.com" rel="noreferrer" target="_blank">http://2Fmyapp.example.com</a>>%2F<br>
<br>
And that makes no sense since that would be used if the cookie-based relay state option were used.<br>
<span class=""><br>
>The sp is using relayState="ss:mem".  The documentation states that if I were using relayState="cookie" my request should automatically be capped at 25 instances.<br>
<br>
</span>Yes, that's the issue I was thinking of.<br>
<span class=""><br>
>Is what I'm seeing expected behavior when using relayState="ss:mem"?<br>
<br>
</span>No, I have no idea what you could be seeing with all that strangeness. Makes no sense to me.<br></blockquote><div><br></div><div><br></div><div>I'm unable to reproduce the problem of the number of cookies increasing.  With a new session,  I now get three cookies _shibpost, _shibstate, and _shibsession.  Are you saying that's unexpected as well?</div><div><br></div><div>  Jeremy</div><div>  </div></div></div></div>