Why so many cookies?

I've got 288 cookies being created as a result of the way WMN now manages logins. For 12 Gmail accounts, that's 24 cookies each!

Each account is creating exact duplicates of every cookie and appending |2 to the account name. The cookie contents are absolutely identical between these duplicates, so I'm thinking this is a bug of some sort that needs to be addressed, or at least explained why it happens.

This is all the cookies that are being created for a single Gmail account called "ABC":

accounts.google.com[wmn|gmail|ABC] GALX
accounts.google.com[wmn|gmail|ABC] GAPS
accounts.google.com[wmn|gmail|ABC] LSID
accounts.google.com[wmn|gmail|ABC|2] GALX
accounts.google.com[wmn|gmail|ABC|2] GAPS
accounts.google.com[wmn|gmail|ABC|2] LDID
google.com[wmn|gmail|ABC] HDIS
google.com[wmn|gmail|ABC] SSID
google.com[wmn|gmail|ABC] APISID
google.com[wmn|gmail|ABC] SAPISID
google.com[wmn|gmail|ABC] SID
google.com[wmn|gmail|ABC|2] HDIS
google.com[wmn|gmail|ABC|2] SSID
google.com[wmn|gmail|ABC|2] APISID
google.com[wmn|gmail|ABC|2] SAPISID
google.com[wmn|gmail|ABC|2] SID
mail.google.com[wmn|gmail|ABC] GXSP
mail.google.com[wmn|gmail|ABC] GX
mail.google.com[wmn|gmail|ABC] S
mail.google.com[wmn|gmail|ABC] GMAIL_AT
mail.google.com[wmn|gmail|ABC|2] GXSP
mail.google.com[wmn|gmail|ABC|2] GX
mail.google.com[wmn|gmail|ABC|2] S
mail.google.com[wmn|gmail|ABC|2] GMAIL_AT

Mine just have 6 cookies

What you have first 6 line, same as mine here, for just ONE account on my Macintosh with Firefox.
I do NOT mind (or complain) about cookies, but I am sure that Tobwithu have "reason" for it.
BUT, we would like to hear what function on each, but you have 24, but mine just 6 cookies.

Thanks, CFBancroft

RpD's picture

by service, by script

Looking at my installation, and yours above, it looks like there are several cookies by 'service', let's say... google, accounts.google, mail.google ...and also by script version, I'm guessing. For example...

I rename new/updated scripts by date... like when Tobwithu issues an update/fix for Facebook script ...and so I see cookies by the old facebook scriptname and the same (new) cookies by the new/updated facebook scriptname... it seems. Maybe I'm wrong, but it looks like new cookies are generated for new scripts.... and old ones are just left in place, not erased.

Perhaps if you get an updated 'ABC' script (same name), then maybe it appends a "|2" onto that scriptname and generates new cookies. I don't know though.

I just see more cookies with my date-named new scripts. The old ones should eventually 'expire', I assume.

---...........................................---
...[...ME again... man!...]...
--(just another user like you!)--

Other guessing about too many cookies

Accord to Tobwithu's post...
http://webmailnotifier.mozdev.org/drupal/content/do-you-have-trouble-wmn...

If you read about Tobwithu's comment on
"Google 2-step verification works properly now because of this."

That one cause more cookies?
I did NOT turn on Google 2-step verification, and I got only 6 cookies... what about you?

Also Tobwithu said
"WMN 2.9.1 has different cookie handling method with previous version."
Right now new version
"WMN 2.9.1 handles cookies with Firefox's cookie manager."
That cause more cookies? (just guessing)

Thanks, CFBancroft

Let me clarify a few

Let me clarify a few things:

I'm running WMN 2.9.2 on Firefox 10.0. I have Firefox clearing all unprotected cookies at shutdown. When I start Firefox, there are zero WMN/Gmail cookies. They start populating as the accounts are logged in.

Based on looking at how many cookies there are for each account when I sign in directly from Google's site, I understand there are going to be quite a few per account. There's nothing Tobwithu can do about that.

However the big question is, why is WMN creating exact duplicate cookies for each account? I've looked at the contents of every cookie per account, and the cookies appended with |2 are exactly copies of already existing cookies.

Seems like a bug to me.

More guessing for us all

Accord to install at website it said...
http://webmailnotifier.mozdev.org/installation.html

see WMN 2.9 "handle cookies with firefox's cookie manager"
That is "NEWER" cookies

My guess that somebody did NOT update and still use 2.8.3 or earlier version need OLD cookies.

That cause "double" cookies for new version and old version of WMN?

I am STILL USE Firefox 3.6.25 and did NOT update to latest version.

I might need old cookies for that purpose? (regardless new WMN or earlier version?)

Cookie to work with Thunderbird, SeaMonkey and other software, also it might cause double cookies?

I just "guessing", I do NOT know why Tobwithu decide not explain here.

Thanks, CFBancroft

RpD's picture

|2

Well...

All I'll say is that I have -one- gmail account defined and I don't get any |2 cookies.

Cookie name seems to be: hostserver[wmn|scriptname|useraccount]

Probably some requirement of -some- google accounts is needing a secondary cookie, but for whatever reason... your secondary cookies aren't any different (although perhaps it may be possible in some circumstance that they could be).
Looks more like a feature to me, than a bug ;)

---...........................................---
...[...ME again... man!...]...
--(just another user like you!)--

"My guess that somebody did

"My guess that somebody did NOT update and still use 2.8.3 or earlier version need OLD cookies."

That would be an incorrect guess. I'm not new at this stuff. The only version of WMN I have installed is 2.9.2, per my earlier post. I clear ALL cookies in Firefox before closing the browser, and use CCleaner as well, which really wipes them all out.

Something is causing duplicate cookies to be created in Firefox for me. It would be nice if Tobwithu would reply to this thread with some concrete answers, rather than getting mere speculation from other end-users.

RpD's picture

Mere...

...speculation can be useful. Concrete is too. Yes... Tobwithu is best.
Speculating bugs is... well...

"Mere"... meh! I guess I'll be remembering that. :) (:
Yeah, yeah... so is freedom of speech.

Hopefully, he'll jump in.

---...........................................---
...[...ME again... man!...]...
--(just another user like you!)--

RpD, my post was not

RpD, my post was not directed towards you.

I agree that speculation or brainstorming among users can be very helpful in many cases. I took more of an issue with the suggestion that there were "old" cookies in my browser causing an issue. I had already explained that all related cookies are cleared each time the browser is closed/opened.

At this point I'm pretty certain that Tobwithu is the only one who can give a definitive answer as to why I am getting duplicate cookies.

RpD's picture

;)

Sort of figured, that's why I included ":) (:"
If you haven't yet, try emailing wmnsupport a-t gmail, with a good subject like "Bug?", perhaps ;)

---...........................................---
...[...ME again... man!...]...
--(just another user like you!)--