By default, Oracle ATG Web Commerce sets the HttpOnly
attribute when it adds cookies to Web application clients. The HttpOnly
attribute restricts use of cookies to HTTP or HTTPS requests and prevents access by JavaScript.
You can control this behavior by setting the createHttpOnlyCookie
property of the /atg/dynamo/servlet/ServletUtil
component. If the value of the boolean createHttpOnlyCookie
property is true
(the default), Oracle ATG Web Commerce will set the HttpOnly
attribute when adding cookies. If the value is false
, it will not.