Firefox plugin to detect when website sessions in use?
update: presenting my very first firefox plugin!
Detects if any of several session types are in use on a website. It has some room for improvement but the fact that it works at all is good start…
I dislike the use of sessions to track users between web pages because it slows things down on active websites and if cookies are disabled, they can create a mess when they get appended to the URL. They are also useless across multiple servers if they aren’t stored in a common memory pool (memcached, etc).
Here are some common session names:
ASP uses “ASPSESSIONID”
PHP uses “PHPSESSID”
.NET uses “ASP.NET_SessionId”
JSP uses “JSESSIONID”
ColdFusion uses “CFID”
(let me know if you are aware of others)
I try to avoid using sessions in my bbPress plugins but there are two (Human Test & OpenID) where I’ve been too tired (aka too lazy) to come up with a complex way around them that would involve mysql tables, etc. However I try to make sure that sessions are not activated when not needed (in most cases, only during registration. But there is a popular third-party plugin that I’ve taken over ownership for (bb-topic-views) that uses sessions all the time when reading topics to prevent re-counting on multiple pages of the same topic.
I want to know when I’ve accidentally triggered session when I don’t need them. But I’d also like to know when other websites are using sessions. But this is not easy. Sessions can be hidden in cookies, or even when cookies are blocked, via POST or worst case, GET data. Sessions under PHP typically use the name “PHPSESSID” but they don’t have to and can be changed.
What I really want is a Firefox plugin that detects when PHPSESSID is in use in cookie,post or get data. The catch is I know very little about writing a Firefox plugin and have only modified other plugins in very limited ways.
Guess I have some research and coding experiments to do!