Forum Moderators: open

Message Too Old, No Replies

Deleting cookie from address bar

         

anthonyl

10:27 pm on Dec 2, 2003 (gmt 0)

10+ Year Member



Hi,
Is there a command that I can use on the address bar to delete a cookie from my current session?
I know that the javascript: alert(document.cookie); displays the cookie but how does one delete it?
Is it possibl-eh?

DrDoc

11:48 pm on Dec 2, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You would have to use setcookie() to delete it, just like you would in a document.

dcrombie

11:59 am on Dec 3, 2003 (gmt 0)



Try this:

JavaScript:document.cookie='cookiename=null';

;)

ILLstyle

7:22 am on Dec 6, 2003 (gmt 0)

10+ Year Member



I use

JavaScript:document.cookie='cookiename=null';

this works for me.

ILLstyle