asked in JSP by (58.6k points)

1 Answer

Cookies are usually set in an HTTP header (although JavaScript can also set a cookie directly on a browser).If the browser is configured to store cookies, it will then keep this information until the expiry date. If the user points the browser at any page that matches the path and domain of the cookie, it will resend the cookie to the server.
answered by (58.6k points)

Java Interview Questions and Answers 2018