I want an HTTP cookies server. This server sits on my local machine, and browsers have to request from it existing cookies or give it cookies to store. Every browser can use this, and every browser should.
That way, no matter if I am using Mozilla, iCab, Safari, or Internet Explorer, they all see the same cookies.
Luckily I have already started with the HTTP::Cookies::* modules I have out there. Now I just need to make the server and convince everyone to use it.
Proxy? (Score:2)
-sam
Re:Proxy? (Score:2)
The major problem is that a lot of browsers do it in memory. They read their cookies file, keep it in memory, do stuff, and rewrite it on exit. Once the browser starts up, it has all the cookies it is going to get from anything other than its own requests.
Re:Proxy? (Score:2)
-sam
Re:Proxy? (Score:2)
-sam
Re:Proxy? (Score:2)
A proxy is solving a different problem than the one I am talking about.
Re:Proxy? (Score:2)
You write an HTTP proxy that captures cookies and modifies requests to include the cookies from its jar. When a browser makes a request through the proxy the proxy can decide to add cookies to the request based on its own cookie stash. It can ignore the cookies the browser has or doesn't have and substitute its own.
Let's take as an example, me logging in to use.perl in Mozilla, then trying to access the site from IE.
Re:Proxy? (Score:2)
That way the browser knows nothing about it. I want the browser to know about the cookies. I don't want an add on, I want browser support for it.
KeyChain? (Score:2)
Re:KeyChain? (Score:2)
Been There, Did That (Score:2)
I have a CGI-based remote cookie jar solution [stonehenge.com], and you could trivially add a persistent cookie jar to my proxy server [stonehenge.com]. Both would work nicely, with differing results.
Re:Been There, Did That (Score:2)
I do not want a kludgey add-on---I want the browser to participate and to be able to see the cookies. With a proxy I have to develop a lot of external applications to handle all the things I can do in the browser now.
What I want for Christmas is the magical world where all this is built into the user-agents I already use, and it works on every platform,a nd LWP supports it.
And that is pure fantasy.
HTTP::Proxy (Score:2)
If you're looking for a proxy that can read and modify anything on both the requests and the response that flow trough it, you can have a look at HTTP::Proxy [cpan.org]. It's just a matter of writing the appropriate filters to handle the cookie headers in both the requests and responses.
It's still in development, but I'm using it as my home proxy on a daily basis. So it basically works.
Speaking of cookies, I'll soon publish a very simple script called mergecookies, that reads all your cookie files, merges all the co
Sharing cookies (Score:2)
I know you know how to do this, but...
mergcookies [cpan.org] is a little script that will merge all the cookies from all your cookie files. The only requirement is that the correct subclass of HTTP::Cookies is available for each browser. You can share cookies between browsers, though not as instantly as you would like.