user623990
user623990

Reputation:

Use Firefox's localStorage inspector to edit cookies?

I'm performing a security analysis of my website and want to see how modified session data will effect my code. I can use Firefox's native Storage tab (on the developer tools menu) to view the cookie I want to change, but I can't edit it. Does Firefox allow this out of the box or do I need a plugin?

Upvotes: 5

Views: 9034

Answers (1)

cweiske
cweiske

Reputation: 31107

This is not possible with the stock storage inspector as of Firefox 38.

It is planned to implement that feature, though: https://bugzilla.mozilla.org/show_bug.cgi?id=1031192


You can use the developer toolbar:

  • Press Shift+F2
  • Type cookie list, press return
  • Type cookie remove PHPSESSID, press return

Upvotes: 9

Related Questions