How can a servlet indicate to the browser that cookie data should be sent over a secure connection?

How can a servlet indicate to the browser that cookie data should be sent over a secure connection?
A. Call the getSecure(true) method on the cookie object.
B. Encrypt the cookie data. The browser automatically sends encrypted data over a secure connection.
C. Set the ENCRYPT header in the response.
D. Configure SessionTrackingMode.SSL on the ServletContext object.

Download Printable PDF. VALID exam to help you PASS.

One thought on “How can a servlet indicate to the browser that cookie data should be sent over a secure connection?

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.