How to reset and destroy a cookie

Cookies can be deleted either by the client or by the server. Clients can easily delete the cookies by locating the Cookies folder on their system and deleting them. The Server can delete the cookies in two ways:

Reset a cookie by specifying expiry time

Reset a cookie by specifying its name only