Yes, fully intentional. We want to wipe out all cookies of all domains
that have been set during a session.
Marc
Robert Landrum wrote:
Marc Lambrichs wrote:
Date: Sun, 10 Dec 2006 12:50:09 GMT
Server: Apache
Set-Cookie: auth_tkt=; path=/; domain=main.domain.com; expires=Sun,
10-Dec-2006 11:
Marc Lambrichs wrote:
Date: Sun, 10 Dec 2006 12:50:09 GMT
Server: Apache
Set-Cookie: auth_tkt=; path=/; domain=main.domain.com; expires=Sun,
10-Dec-2006 11:50:09 GMT
Set-Cookie: auth_tkt=; path=/; domain=first.domain.com; expires=Sun,
10-Dec-2006 11:50:09 GMT
Set-Cookie: auth_tkt=; path=/; doma
Well, there's no problem there. Checking the head looks ok: my tests
show three Set-Cookie statements:
$ curl -I --cookie
"auth_tkt=ZjY4MDk5NWYwOTRlODNmNGJiNDhlNmI0ZmY4M2ZkZjM0NTdjMDA3Y21sQG1lbGFuZ2UtaXQubmwhMTE2NTc1NDQ5Mjo4Mi45Mi45NS4yMDI=;
domain=main.domain.com;" http://main.domain.com/logo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Sat, Dec 09, 2006 at 02:18:09AM +0100, Marc Lambrichs wrote:
> I'm trying to reset multiple cookies. However, only the last one of the
> @cookies array is reset. How come?
>
[...]
>foreach my $cookie ( @cookies ){
>
I'm trying to reset multiple cookies. However, only the last one of the
@cookies array is reset. How come?
foreach ( @domains ){
push @cookies, APR::Request::Cookie->new( $r->pool,
name