20 Jul
2017
20 Jul
'17
1:45 p.m.
On Thu, 20 Jul 2017 13:24:58 +0000 Wanjuan Yang wrote:
I got a cookie from user’s request and retrieve the data and store in session, then I will need to delete it in client’ browser.
How can I delete the cookie?
Just set the expiry to a negative value: cookie my_cookie => '', expires => '-1d';