What is the purpose of the 'Cookie' header in an HTTP request? MCQ with Answer and Explanation

What is the purpose of the 'Cookie' header in an HTTP request?
A. To send stored cookies from the client to the server
B. To check cookie existence
C. To delete cookies
D. To set new cookies on the client
Answer: Option A
Solution (By JKSSB Mock Tests)
The Cookie header is used by the client to send previously stored cookies to the server, enabling session management.

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Internet and Web Technologies Questions

Question #1
What is the function of a web browser?
A. To manage email
B. To host websites
C. To request and display web pages
D. To store web pages

Correct Answer: Option C


Explanation:
A web browser is a client-side application that sends HTTP requests to web servers and renders the received web pages for the user.

This question belongs to: Computer Internet and Web Technologies
Question #2
Which of the following is an example of a dynamic web page technology?
A. All of the above
B. ASP.NET
C. Server-side includes (SSI)
D. PHP

Correct Answer: Option A


Explanation:
SSI, PHP, and ASP.NET are all server-side technologies used to generate dynamic content.

This question belongs to: Computer Internet and Web Technologies
Question #3
Which of the following is a common character encoding used on the web?
A. ASCII
B. UTF-8
C. ISO-8859-1
D. All of the above

Correct Answer: Option D


Explanation:
UTF-8, ASCII, and ISO-8859-1 are all character encodings, but UTF-8 is the most universally used on the web today.

This question belongs to: Computer Internet and Web Technologies