将httponly标志设置为经典ASP中的双参数cookie

时间:2018-07-03 15:23:01

标签: security cookies vbscript asp-classic

我有以下参数的双重参数cookie:

   Response.cookie("user")("id1") = "value1"
   Response.cookie("user")("id2") = "value2"
  Response.cookie("user")("id3") = "value3"
  Response.cookie("user")("id4") = "value4"
  Response.cookie("user")("id5") = "value5"

如何为带有“用户”集合的cookie设置httponly true标志 如何调整以下语法为双参数cookie设置http:

   Response.AddHeader "Set-Cookie","user"; path=/; HttpOnly

请告知

0 个答案:

没有答案