Perrin Harkins wrote:
On Jan 4, 2008 9:47 PM, Colin Wetherbee <suppressed> wrote:From the Apache2::Cookie documentation, bake() "adds a Set-Cookie header to the outgoing headers table." Is there a way to undo this without manually editing the headers, preferably with Apache2::Cookie methods?Why don't you want to edit the headers? That seems like the simplest way to do it.
Hi, Perrin. Thanks for your response.Well, I don't mind editing the headers, but I'd rather use standardized API calls (i.e. through Apache2::Cookie and friends) so that I don't have to worry about what's going on under the hood, updating my code for Apache2 changes, and so forth.
I'm trying to work out a way to not have to rely on undoing cookies, but I haven't had any luck so far. It's for a complicated authentication system.
(As an aside, would somebody mind briefly explaining the difference between the Set-Cookie and Set-Cookie2 headers?I had never heard of Set-Cookie2, but a quick Google makes it sound like an RFC that never caught on.
I'm of the same opinion. FWIW, the Apache2::Cookie module seems to support it [0].
Colin [0] http://tinyurl.com/2ubw2m
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.