How to update Set-Cookie details - WeOnlyDo Discussion board

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

by Balaji Remala, Thursday, December 14, 2023, 14:50 (343 days ago) @ Jasmine

Hi.

Why don't you try with Response.Headers.Add("Set-Cookie.....") where you can put raw cookie in response?

Regards,
Jasmine

Hi,
Thank you for your quick response.
Using the Response.Headers.Add ("Set-Cookie:...") I am able to add the cookie. But at final I am seeing 2 Set-Cookie under the Response Header, another Set-Cookie is adding by itself, I am not able to update this default cookie with HTTPOnly and Secure details.
I want to update all the cookies with HTTPOnly and Secure details.

Thanks,
Balaji


Complete thread: