<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p>Sure - all I did was add:</p>
<p><br>
</p>
<p><span><CookieProcessor className="org.apache.tomcat.util.http.LegacyCookieProcessor" alwaysAddExpires="true"></CookieProcessor></span></p>
<p><br>
</p>
<p>in to /etc/tomcat/context.xml. There are other ways of achieving similar results with certain caveats. The docs on the Tomcat website explain in detail:
<a href="https://tomcat.apache.org/tomcat-8.5-doc/config/cookie-processor.html#Legacy_Cookie_Processor_-_org.apache.tomcat.util.http.LegacyCookieProcessor" class="OWAAutoLink" id="LPlnk139994" previewremoved="true">
https://tomcat.apache.org/tomcat-8.5-doc/config/cookie-processor.html#Legacy_Cookie_Processor_-_org.apache.tomcat.util.http.LegacyCookieProcessor</a></p>
<p><br>
</p>
<p>Clayton</p>
<div id="LPBorder_GT_14943298602380.8782187674131836" style="margin-bottom: 20px; overflow: auto; width: 100%; text-indent: 0px;">
<table id="LPContainer_14943298602340.505454552917789" style="width: 90%; background-color: rgb(255, 255, 255); position: relative; overflow: auto; padding-top: 20px; padding-bottom: 20px; margin-top: 20px; border-top: 1px dotted rgb(200, 200, 200); border-bottom: 1px dotted rgb(200, 200, 200);" role="presentation" cellspacing="0">
<tbody>
<tr style="border-spacing: 0px;" valign="top">
<td id="TextCell_14943298602350.5912207281153429" style="vertical-align: top; position: relative; padding: 0px; display: table-cell;" colspan="2">
<div id="LPRemovePreviewContainer_14943298602350.3076719027454783"></div>
<div id="LPTitle_14943298602350.2938570843077064" style="top: 0px; color: rgb(93, 178, 255); font-weight: 400; font-size: 21px; font-family: "wf_segoe-ui_light","Segoe UI Light","Segoe WP Light","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; line-height: 21px;">
<a id="LPUrlAnchor_14943298602350.6499178325260764" style="text-decoration: none;" href="https://tomcat.apache.org/tomcat-8.5-doc/config/cookie-processor.html#Legacy_Cookie_Processor_-_org.apache.tomcat.util.http.LegacyCookieProcessor" target="_blank">Apache
Tomcat 8 Configuration Reference (8.5.13) - The ...</a></div>
<div id="LPMetadata_14943298602360.207228246374902" style="margin: 10px 0px 16px; color: rgb(102, 102, 102); font-weight: 400; font-family: "wf_segoe-ui_normal","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; font-size: 14px; line-height: 14px;">
tomcat.apache.org</div>
<div id="LPDescription_14943298602370.6215816381272147" style="display: block; color: rgb(102, 102, 102); font-weight: 400; font-family: "wf_segoe-ui_normal","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; font-size: 14px; line-height: 20px; max-height: 100px; overflow: hidden;">
The CookieProcessor element represents the component that parses received cookie headers into javax.servlet.http.Cookie objects accessible through HttpServletRequest ...</div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
<p></p>
<br>
<br>
<div style="color: rgb(26, 26, 26);">
<div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>From:</b> users <users-bounces@shibboleth.net> on behalf of Ortner Nikolaus <N.Ortner@fh-kaernten.at><br>
<b>Sent:</b> 09 May 2017 12:23<br>
<b>To:</b> 'Shib Users'<br>
<b>Subject:</b> Re: IDP on Tomcat 8.5.x</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">> (adding a CookieProcessor to context.xml to add an Expires field on<br>
> to cookie because certain browsers not handling the Max-Age field)<br>
<br>
Do you have a short how-to on this issue? - seems like the IE 11 still has this problem (for a test see:
<a href="http://mrcoles.com/media/test/cookies-max-age-vs-expires.html" id="LPlnk584710" previewremoved="true">
http://mrcoles.com/media/test/cookies-max-age-vs-expires.html</a>)
<div id="LPBorder_GT_14943297689380.346846446830923" style="margin-bottom: 20px; overflow: auto; width: 100%; text-indent: 0px;">
<table id="LPContainer_14943297689340.8895707491606921" style="width: 90%; background-color: rgb(255, 255, 255); position: relative; overflow: auto; padding-top: 20px; padding-bottom: 20px; margin-top: 20px; border-top: 1px dotted rgb(200, 200, 200); border-bottom: 1px dotted rgb(200, 200, 200);" role="presentation" cellspacing="0">
<tbody>
<tr style="border-spacing: 0px;" valign="top">
<td id="TextCell_14943297689350.41398667088349406" style="vertical-align: top; position: relative; padding: 0px; display: table-cell;" colspan="2">
<div id="LPRemovePreviewContainer_14943297689350.08694801440680189"></div>
<div id="LPTitle_14943297689350.5673704306746403" style="top: 0px; color: rgb(93, 178, 255); font-weight: 400; font-size: 21px; font-family: "wf_segoe-ui_light","Segoe UI Light","Segoe WP Light","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; line-height: 21px;">
<a id="LPUrlAnchor_14943297689360.7857229338890943" style="text-decoration: none;" href="http://mrcoles.com/media/test/cookies-max-age-vs-expires.html" target="_blank">Cookies test - Peter Coles</a></div>
<div id="LPMetadata_14943297689370.35269840446042877" style="margin: 10px 0px 16px; color: rgb(102, 102, 102); font-weight: 400; font-family: "wf_segoe-ui_normal","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; font-size: 14px; line-height: 14px;">
mrcoles.com</div>
<div id="LPDescription_14943297689370.11957482861507396" style="display: block; color: rgb(102, 102, 102); font-weight: 400; font-family: "wf_segoe-ui_normal","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; font-size: 14px; line-height: 20px; max-height: 100px; overflow: hidden;">
Home Cookie Test Demo: max-age vs expires. Each test below sets a cookie with some combination of the "max-age" or "expires" parameters. It turns out that Internet ...</div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
<br>
Kind regards.<br>
<br>
-- <br>
To unsubscribe from this list send an email to users-unsubscribe@shibboleth.net<br>
</div>
</span></font></div>
</div>
</body>
</html>