38

I'm using Google Chrome and want to delete the current session data on the fly. I can do this on Firefox with the web developer extension, but Chrome doesn't seem to have the same option in their webdev extension. So how can I do this?

I realize that session data is stored on the server side and tracked in the browser with cookies. So really, I think what I want to do is delete cookies that are set to live for the session lifetime. Is there a way to do THAT in Chrome? "Delete browsing data" lets me delete all cookies from within a certain time period (for example, the last hour), but that could delete OTHER cookies on the site that I don't want to erase. I just want to delete the cookie being used to track my current session.

To be even more clear: In Firefox, with the web programmer extension installed, I can log into a site, choose "clear session cookies" and just the PHPSESSID cookie is erased. However, other cookies for that domain are not erased or otherwise touched. I want to be able to do this exact same functionality in Chrome.

Thanks y'all...

Eric
  • 735

7 Answers7

25

I don't know if this is what you were looking for but anyway, a similar functionality is built right into chrome:

Right-click -> Inspect element.

Go to resources tab and enable tracking if you haven't already.

Now scroll down the left hand sidebar thingy until you see cookies, under it click your domain name and to delete a cookie just right-click on its name and delete

Tech255
  • 251
7

You can use the following procedure in Chrome:

  1. Hit F12 or open the contextual menu (right click), then "Inspect element"
  2. Go to the Application tab
  3. On the right sidebar menu, go to Application > Clear storage
  4. Uncheck everything but Local and session storage
  5. Scroll to the very down and click Clear site data

Hope it helps

Anwar
  • 171
  • 1
  • 2
3

For clarity: You want to be able to ONLY delete the cookies of a specific site OR even just single cookies of a given site, right?

There's a few extensions that let you do stuff like that.

If you just want to delete all cookies for the site opened in the current tab, check out Remove Cookies For Site.

If you want more options, like editing, deleting only certain cookies of a site, Edit This Cookie might be your extension. You'll get a menu for all cookies of the current site: alt text

1

Chrome doesn't clear session cookies for the current tab, probably by design.

So try going to another tab before clearing. This might also be useful in helping users that see outdated session data on a page.

0

For me,was

by click on lock icon select Cookies then choose Remove

enter image description here

Zaman Oof
  • 121
0

StorageAce chrome extension clears the session cookies quite easily.

Steps:

  1. Click Session quick filter
  2. Click Select All checkbox
  3. Click Delete

enter image description here

CodeZila
  • 103
0

Did you try downloading Web Developer for Chrome?

If you go to the cookies section of the popup, you can selectively delete only "Session Cookies".

Arjan
  • 31,511