Automatically Clear Cookies When You Close Chrome Browser

The cookies in any web browser are used to store the user data for different websites as well as the login information. For example, when you login to your Gmail or Youtube account, the information is stored in cookies so that next time it does not ask you for login until you choose to logout. This means that anyone who uses the Chrome browser on your PC would be able to access your online accounts on Google, Facebook, Twitter, etc. You can always manually clean the browsing history and cookies in the Chrome browser, but a better option is to automatically clean all the cookies when you close the Chrome browser. Here is how you can set Chrome to automatically clean the cookies on shutdown:

  1. Click on the customize icon in the Chrome toolbar on the right side and select Settings from the popup menu. As an alternative, you can also type chrome://settings in the location bar and press Enter.

    Automatically Clear Cookies When You Close Chrome Browser

  2. In the Settings page that opens, type cookie in the search box. This would narrow down the options displayed to only the cookies related settings. Click on the Content Settings button.

    Automatically Clear Cookies When You Close Chrome Browser

  3. This would open the Cookies settings window where you can set how Chrome handles cookies set by different websites. Select the option Keep local data only until I quit my browser as shown in the following picture:

    Automatically Clear Cookies When You Close Chrome Browser

  4. If you want to make exceptions for retaining the cookies for some websites, then click on the Manage Exceptions button and enter the domain names or host names for which you do not want to remove the cookies. Click on the Done button to save the settings. You can now close the Settings tab. From now on whenever you close the Chrome web browser, it will remove all the cookies stored for all the websites (unless you have provided exceptions for some domains).