Setting the Expires or MaxAge parameter on JSESSIONID cookies

Solution Verified - Updated -

Issue

  • How can JSESSIONID cookies be created with a desired value in the Expires or MaxAge parameter?
  • A particular client browser needs all cookies to include the Expires parameter.

Environment

  • JBoss Enterprise Application Platform (EAP)
  • JBoss Web Server (JWS) Tomcat

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content