Can not send cookie (wodHttpDLX)

by Ace @, (7299 days ago)

Hi,

I want to send cookie to client browser, but IResponse object doesn't have something like SendCookie and its headers are read-only. What can I do?

Thanx in advance

locked

Re: Can not send cookie

by Jasmine, (7299 days ago) @ Ace

Ace,

Response headers should not be read-only. What programming language do you use? Did you try to call Headers.Add( Set-Cookie ) header?

You could send your code to techsupport@weonlydo.com so we can check it out and see how to implement what you need.

Regards.

locked

Re: Can not send cookie

by Ace @, (7298 days ago) @ Jasmine

Hi,

Thanks for fast response, it really helped.
But, I have another question: what is the role of the third param in IWebHeaders::Add method? Can it be NULL? I'm using VC++.

Thanx in advance

locked

Re: Can not send cookie

by Jasmine, (7298 days ago) @ Ace

Ace,

3rd param is actually return value. You can set it to NULL if you're not interested in getting reference to new WebHeader instance.

locked