Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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...

share|improve this question
    
I define session data as Any data stored during the session. You need to state what data you want to delete rather than what you do not want to delete. The one data store Chrome does not delete using "clear browsing data" is the "Local Storage" folder data, you have to do this manually, do not delete anything in there that starts with "chrome-extension" –  Moab Oct 22 '10 at 4:05
    
In re-thinking my question, 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 used to track my current session. Does that make sense? –  Eric Dec 7 '10 at 21:44
1  
Please edit your question instead. (That will also bump it back to the homepage, so folks will actually see your question.) –  Arjan Dec 8 '10 at 10:13
    
Will do, thanks. –  Eric Jan 12 '11 at 21:53

2 Answers 2

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"

share|improve this answer
1  
The developer tools can also be opened by pressing Ctrl+Shift+J. –  Attila O. Jan 13 '11 at 20:13
    
F12 also opens the chrome's DevTools –  Ray Vega Mar 15 '13 at 23:49
    
Cookies aren't session data in chrome (which can persist despite clearing cookies), so that doesn't help.. –  Amalgovinus 3 hours ago

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

share|improve this answer
    
Thanks for the reply. I want to delete the session cookie(s) for a given site and no other cookies. I edited my question and added a bit to the end to clarify that. –  Eric Jan 13 '11 at 15:16
    
Then "Edit This Cookie" is your choice. I took a screenshot and added it to my original answer. I think that's what your looking for. –  Tobias Plutat Jan 13 '11 at 15:43

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.