Hi. Is there any predefined JavaScript method to destroy cookie? |
Hi Javid, You can destroy a cookie using the predefined setCookie JavaScript method explained in this tutorial. After creating an externalMethod as explained in the tutorial(named "setUserCookie" for example), you can use null as cookie value and -1 as cookie duration to destroy it:
Hope this helps, Grat Thanks Ibrahim. It's worked for me.
(08 Apr '13, 05:11)
Javid Hasanov
|