Ad Code

Reading Cookies from the Client java related


Reading Cookies from the Client java related

To read the cookies that come back from the client, following steps are generally followed.
To read incoming cookies, get them from the request object of the HttpServeltRequest by calling
following method
Cookie cookies []=request.getCookies();
This call returns an array of Cookies object corresponding to the name & values that came in the HTP request
header.
Reactions

Post a Comment

0 Comments