Setting the Expires or MaxAge parameter on cookies in Apache Httpd

Solution Verified - Updated -


  • How to set Expires or Max-Age HTTP response headers with the desired values on cookies when using Apache Httpd.


  • Apache Httpd

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