Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: Remove Delete All Cookie Crumb URL iCookieGet iCookieSet
; Remove All Cookies AddExtender("WWINT44I.DLL") url = 'http://google.com' iCookieSet(url, "", "DUMMYNAME=DUMMYVALUE") ;Define Our Own Cookie cookielist = iCookieGet(url) ; Extract out each cookie - cookies are separated by semicolons count = ItemCount( cookielist, ';' ) For xx = 1 To count cookie = ItemExtract( xx, cookielist, ';' ) ;Pause('cookie ':xx, cookie) ret = AskYesNo( 'Delete Cookie?', 'Are you sure you want to delete ':cookie ) If ret ; A name/value pair (a crumb) is separated by an equal sign Name = ItemExtract( 1, cookie, '=' ) ;Value = ItemExtract( 2, cookie, '=' ) iCookieSet(url, Name, "; expires=Fri, 31 Dec 1999 23:59:59 GMT;") EndIf Next data = iCookieGet(url) If data==0 Message("iCookieGet Last error",iGetLastError()) Exit EndIf If data=="" data = "No cookie data is available." EndIf Message("Cookie Data",data) Exit
Article ID: W17625
Filename: Remove All Cookies From URL.txt
File Created: 2010:06:03:09:02:52
Last Updated: 2010:06:03:09:02:52