How is a cookie sent from a client to the server in an HTTP request?
- As a URL parameter
- As a part of the request body
- As a part of the request headers
- As a separate HTTP request
Cookies are sent from a client to the server as a part of the request headers in an HTTP request.
Loading...
Related Quiz
- The __________ object provides the filter with its configuration information.
- To prevent XSS attacks, it is essential to _________ user input and _________ user output.
- In a scenario where a transaction involves multiple SQL queries, how should exceptions be handled to ensure that either all queries succeed or none do?
- What role do servlets play in handling controller logic in MVC frameworks?
- The _________ interface in Java EE allows the server to react to WebSocket lifecycle events.