How to update Set-Cookie details (wodWebServer / wodWebServer.NET)

by Jasmine, (548 days ago) @ Balaji Remala

Hi.

Please request update and try it out. Version property should return 1.7.2. You should add code like this to achieve what you need:
[code]
Private Sub Web1_ResponseHeaders(ByVal User As WODWEBSERVERCOMLib.IWebUser)
User.Response.Headers("Set-Cookie").Value = User.Response.Headers("Set-Cookie").Value + "; HttpOnly"
End Sub
[/code]

Of course, add little sanity checking inside, just in case.

Let me know if this works ok for you!

Jasmine

locked

Complete thread: