To delete a cookie follow these steps
Read an already existing cookie and store it in Cookie object.
Set cookie age as zero using the setMaxAge() method to delete an existing cookie.
Add this cookie back into the response header.
239 questions
203 answers
2 comments
692 users