Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7001201
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T20:46:22+00:00 2026-05-27T20:46:22+00:00

I have two questions. Question #1: What is the difference between HttpWebResponse.Cookies and WebResponse.Headers[Set-Cookie]?

  • 0

I have two questions.

Question #1: What is the difference between HttpWebResponse.Cookies and WebResponse.Headers[“Set-Cookie”]? Is “WebResponse.Headers[“Set-Cookies”]” not valid http cookie?

Question #2: How to get the values of duplicated headers that have same name from HttpWebResponse?

Here is the raw response that I copied from Fiddle. As you can see, there is two headers with same name “Set-Cookie”. I always get the first one in HttpWebResponse. Is ” __utms” cookie from Google analytics?

HTTP/1.1 200 OK
Date: Tue, 27 Dec 2011 09:47:53 GMT
Chunk: 10210620
Set-Cookie: ASP.NET_SessionId=34ft0d45uboqv245bev2nwrj; path=/; HttpOnly
Set-Cookie: __utms=A51743627D9238C3997BABD76D7D75; domain=ibc88.com; expires=Wed, 28-Dec-2011 09:47:53 GMT; path=/
Content-Type: text/html; charset=utf-8
Cache-Control: private, no-store
Content-Length: 2543
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T20:46:23+00:00Added an answer on May 27, 2026 at 8:46 pm

    Do you notice the HttpOnly flag in the ASP.NET_SessionId cookie? This flag basically indicates that this cookie cannot be read by clients. You are sending a client request using a WebRequest or a WebClient or whatever but you will never be able to read this cookie value. Only the server can read it. The client will store and send it on subsequent requests but you can never read its value.

    Jeff also blogged about HttpOnly.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have two questions: (1) I learned somewhere that -O3 is not recommended with
I have two question about namespace in Tcl. namespace eval ::dai { set a
Just a quick question as to the difference between xpath's 'not' and '!=' in
I have a question regarding the Difference between StringTokenizer class and java.util.Scanner class? Though
I'm re-asking this question but with a different framework this time. I have two
I have a simple but subtle question. Below you see two different declaration variants
I have two questions: 1) How can I make an array which points to
I have two questions. Do realloc() and memcpy() copy the entries in an array
I have two questions: 1) I have a few global variables for my website
I have two questions: From personal experience, what free blog engine is the best

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.