1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

cookies

Discussion in 'Legacy Windows' started by trying, 2003/11/09.

Thread Status:
Not open for further replies.
  1. 2003/11/09
    trying

    trying Inactive Thread Starter

    Joined:
    2002/08/17
    Messages:
    77
    Likes Received:
    0
    how do I clear the cookies when I shut down , windows 2nd 98
     
  2. 2003/11/10
    merlin

    merlin Inactive

    Joined:
    2003/01/07
    Messages:
    1,111
    Likes Received:
    0
    There are some useful posts on the Board about Cookies, just
    use the search facility.
    As ever, it's a subject that requires you to evaluate the pros
    and cons - some Cookies help, others do not.
    If you want to automatically delete ALL Cookies at Shutdown, you will need a third party app that runs programs at Shutdown.
    There are some free ones downloadable from the internet.
    See Nonags.com for example.
    Or you could just write a .bat that deletes the content of
    Windows/Cookies and run it just before you Shutdown.
    regards
     

  3. to hide this advert.

  4. 2003/11/10
    gammaepsilon

    gammaepsilon Inactive

    Joined:
    2003/04/27
    Messages:
    267
    Likes Received:
    0
    One way to clear the cookies on shutdown is to alter the method of booting up.

    That may seem an odd thing to say but it is straight forward. A shutdown is, in effect, a reverse boot: Windows is unloaded, then DOS is unloaded. Of course, to go back we must remember where we have been and this is done by return addresses being placed onto the machine stack. We finish what we are doing in a section of code, grab a return address, finish what we were doing there before leaving, grab a return address and so on.

    That's the hard part over.

    This is the easy part.

    In MSDOS.SYS there is a line BootGUI=1. This ensures that we boot into the Graphical User Interface of our default OS, which in our case is Windows, without any intervention required of us.

    Change this to: BootGUI=0. You'll need to change MSDOS.SYS' atrributes from rahs to ---- and you won't see the file unless Folder Options>View>Hidden files has 'Show all files' checked. Don't forget to return MSDOS.SYS to rahs.

    Now at the bottom of your Autoexec.bat file add the line: win.

    If you booted now you'd see no real difference because win loads Windows. So far, a pointless exercise.

    However, Windows is actually called so Autoexec.bat hasn't finished yet and the address of the next line is put onto the machine stack.

    When we shutdown we evetually get to the point of pulling that address off the machine stack and we find ouselves at the line following win so that's where we can put any code we want running before the system finally shutsdown; or restarts for that matter.

    After the 'win' line add the following;
    for %%n in (c:\windows\cookies c:\windows\history c:\windows\tempor~1) do deltree /y %%n\*.*

    This will delete 'cookies', 'history' and the 'temporary internet files'. If you only want 'cookies' to be deleted then remove the reference to 'history' and 'tif'.

    If you use, Opera, Mozilla or whatever you can clear their caches here as well. In fact any job that you want doing at shutdown can be placed here provided, of course, it can be done in DOS with the appropriate code.

    Bear in mind that all cookies are throttled with this approach and, as merlin rightly says, "some Cookies help, others do not ". I'd go a step further and say most do not. I block most of them.
     
  5. 2003/11/10
    Welshjim

    Welshjim Inactive

    Joined:
    2002/01/07
    Messages:
    5,643
    Likes Received:
    0
    trying--It is the version of IE that controls how cookies are handled, not the version of Windows.
    The simplest answer to your question as stated is, just before shutdown, to click Tools|Internet Options|General tab|Delete Cookies. This will delete all cookies on your PC. And you still can control which cookies you get during a session through the various settings on the Security tab (and in IE 6, on the Privacy tab).
    If you want to delete new cookies automatically on shutdown, in IE6, click Tools|Internet Options|Privacy tab|Advanced|check the box "Override automatic cookie handling "|check the box "Always Allow session cookies ", click Apply|OK. Now all newly acquired cookies will be deleted when you shutdown your PC. The down side is that you will get all cookies that all the sites you visit will offer. You have overridden the settings in the Privacy tab for sites not in the Restricted Zone.
    Another non-automatic approach, especially if you want to retain some cookies (like those that store your password to banking sites or sites like this one), is to perhaps consider a cookie manager. This is the approach I use and the cookie manager I use is Cookie Jar
    http://www.jasons-toolbox.com/cookiejar.asp
    When you scan with Cookie Jar it shows you what cookies you have acquired since the last time you used Cookie Jar. You then have to option to individually keep, delete or even bar that site from depositing cookies in the future.
     
  6. 2003/11/10
    indmusic

    indmusic Well-Known Member

    Joined:
    2002/10/23
    Messages:
    143
    Likes Received:
    3
    Here is another option(if your using IE): Just throwing something out there. There is a free program that acts as a popup blocker too.
    I use to have this installed in the wife's IE
    but she now uses the Google toolbar.
    EMS freesurfer
    Worth looking into, may be what your looking for.
     
  7. 2003/11/13
    trying

    trying Inactive Thread Starter

    Joined:
    2002/08/17
    Messages:
    77
    Likes Received:
    0
    Thank all of you that posted replys . The task is more than I expected I will forget about cookies for the time being :)
    Bob
     
Thread Status:
Not open for further replies.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.