如何在datapower中将cookie值设置为httponly

How to set cookie value to httponly in datapower

我试图在数据能力中设置一个 cookie 供 UI 使用,但现在我们遇到了一个特殊情况,我们必须将 cookie 设置为 httponly。我们可以在数据能力 httponly 中做到这一点吗?如果是这样,请告诉我们如何创建一个。

谢谢

下面的代码示例可以让您设置 cookie 值。 <dp:set-http-response-header name="'cookie'" value="'123456'"/>