Quote Originally Posted by Salvadori View Post

i'm sending a file using multipart/form-data via the HttpVerbAddrRequest using post verb

the server that receives my post request is returning a custom response that sets a "cookie" in my subsequent requests (set-cookie) to manage with sessions, and then my requests start to fail

is there any way to remove these cookies?

it only works if i restart my webapp, but i'm creating a class that sends the request with dynamic obj, ( get create refclass...) after that, i send the post request and then use the Destroy method, but the cookies remain in the next requests

this image shows which cookie i'm referring to

Click image for larger version. 

Name:	Capturar.PNG 
Views:	29 
Size:	73.9 KB 
ID:	16767

after a deeper search, probably after having seen some sharks i found this answer, which is what i'm looking for in this thread.

ps: even after reading the documentation, i didn't understand how to set two or more flags in this property peTransferFlags

[1] https://support.dataaccess.com/Forum...=remove+cookie

Thank you all and keep coding!