title: Tomcat how to set maxage
body: <p>I am trying to set maxage for a session cookie in tomcat application.
  I have made changes in web.xml</p>
  
  <pre><code>&lt;session-config&gt;
          &lt;session-timeout&gt;30&lt;/session-timeout&gt;
           &lt;cookie-config&gt; &lt;max-age&gt;30000&lt;/max-age&gt; &lt;/cookie-config&gt;
  &lt;/session-config&gt;
  </code></pre>
  
  <p>But google->developertools->Resources->Expires/Max-Age has value SESSION.</p>
  
  <p>Does it mean max-age is not set for cookie ? Or am I doing anything wrong.</p>
  
  <p>Thank you</p>