Jump to content

Response.AddHeader Set-Cookie

Recommended Posts



I have a cookie with specific key like this

Response.Cookies("user")("firstname")="John"Response.Cookies("user")("Lastname") ="Smith"Response.Cookies("user").Path = "/"&"; HttpOnly"Response.Cookies("user").Secure = TrueResponse.Cookies("user").Expires = DateAdd("m",15,Now())

How do you use Response.AddHeader when the cookie "user" has multiple keys? I want the cookie in mode HttpOnly and secure=true.




Link to post
Share on other sites
  • 6 years later...
This topic is now closed to further replies.
  • Create New...