Send cookie with WebRequest

D

Dave

I'm sending data to a website with a WebRequest,

string m_request = some_web_page;

HttpWebRequest request = (HttpWebRequest)WebRequest.Create(m_request );

HttpWebResponse response = (HttpWebResponse)request.GetResponse();



Which works fine, but I need to set and send a cookie with the WebRequest.
How do I do that?
 
S

Steven Cheng [MSFT]

Hi Dave,

Regarding on this issue, I have found your another same thread posted in
this newsgroup. Some community member and I have posted some suggestion
there. Welcome to continue discuss in that thread.

Thanks for your posting.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top