Skip to Content
0
Jun 10, 2016 at 01:20 PM

How to set HTTPOnly attribute on cookies

754 Views

Hi


We know that cookies created by SAP software can have HTTPOnly attribute set using the icf/set_HTTPonly_flag_on_cookies profile parameter.


However, we want to set HTTPOnly flag on the cookies we create in our software, but the SET_COOKIE() method doesn't have any parameters to set HTTPonly attribute. Can anyone suggest the best way to set HTTPOnly attribute on a cookie programatically?

Thanks

Tim