Actually I wrote an extension that does exactly what you're looking for. http://cookiestore.mozdev.com/
I haven't worked on it for a while, but I did complete the tab specific cookie jars which should do what you want. I ran into trouble dealing with AJAX http requests that dealing with persistent cookies. My extension only works on session cookies at the moment. Unfortunately all this request and response manipulation and examination added a bit of latency which I have yet to spend time to optimize. You might need to pull it from CVS to get the latest code. I also have a shell script in there that will package the XPI file for you, it's pretty simple. Hopefully that helps you some. If you have any questions on how it works, feel free to email me. All of the controls for the extension are in the right click context menu. You can even edit cookies by hand through the "Manage Cookie Jars" dialog if I remember correctly. Kyle On Jan 29, 2008 3:22 PM, Jesper Staun Hansen <[EMAIL PROTECTED]> wrote: > Hello. > > > I was wondering if this is possible: > For a specific tab is one specific cookie like this used; > CookieName: Userinfo > CookieValue: User=Brian&pass=Brianisusingalousypass > > And for another tab is this cookie used; > CookieName: Userinfo > CookieValue: User=TheAdmin&pass=TheAdminHasABetterOne > > Has anyone ever tried this before? And is it even possible? It actually > should be possible, but how would I manage to tell this tab to be the > admin and the other to be Brian. > Should be able to manipulate the http headers manually, but missing the > know-how. > This isn't much help: > http://developer.mozilla.org/en/docs/Setting_HTTP_request_headers Or I > am just misreading it all. > I can't tell how to overwrite a specific header-response from that link. > And another thing i need to do is to avoid that Admin cookie overwrites > Brians cookie in the cookie database. > > So, any thoughts? > > > _______________________________________________ > Project_owners mailing list > [email protected] > https://www.mozdev.org/mailman/listinfo/project_owners > -- Kyle _______________________________________________ Project_owners mailing list [email protected] https://www.mozdev.org/mailman/listinfo/project_owners
