Re: Cookie questions

2007-12-24 Thread Raymond Wan
Hi bop, Thanks for the e-mail. I ended up doing a mix of both your suggestion and John's and it seems to work ok. Both of your suggestions were great; thank you! Ray Boysenberry Payne wrote: Oops, I forgot the some code: # to set $cookie = { -name => "foo", -value => "bar", -path => "/

Re: Cookie questions

2007-12-24 Thread Raymond Wan
Hi John, John ORourke wrote: Cookie names are unique to a given domain (the domain which can optionally be explicitly set using $cookie->domain ) - if you write another cookie with the same name and domain and path it'll overwrite the previous one. Ah, thanks for this! I guess I had a bug

Re: RELEASE CANDIDATE] mod_perl-1.31 RC1

2007-12-24 Thread Andreas J. Koenig
> On Mon, 24 Dec 2007 15:07:20 -0800, "Philippe M. Chiasson" <[EMAIL > PROTECTED]> said: >> I then changed directory to apache.../src/modules/perl/ and did a >> 'make libperl.a', which did compile one for me. Then I switched back >> to mod_perl directory and retried a 'make' and indeed

Re: RELEASE CANDIDATE] mod_perl-1.31 RC1

2007-12-24 Thread Philippe M. Chiasson
Andreas J. Koenig wrote: >> On Mon, 24 Dec 2007 13:12:05 -0800, "Philippe M. Chiasson" <[EMAIL >> PROTECTED]> said: > > > Looks like it was caused by httpd's own stuff defining LIBEXT and > clobbering > > our own. Can you try the attached patch ? > > Maybe I'm too tired right now, b

Re: RELEASE CANDIDATE] mod_perl-1.31 RC1

2007-12-24 Thread Andreas J. Koenig
> On Mon, 24 Dec 2007 13:12:05 -0800, "Philippe M. Chiasson" <[EMAIL > PROTECTED]> said: > Looks like it was caused by httpd's own stuff defining LIBEXT and clobbering > our own. Can you try the attached patch ? Maybe I'm too tired right now, but on the first try it did again not wor

Re: RELEASE CANDIDATE] mod_perl-1.31 RC1

2007-12-24 Thread Philippe M. Chiasson
Andreas J. Koenig wrote: >> On Sat, 22 Dec 2007 13:52:26 +0100, [EMAIL PROTECTED] (Andreas J. >> Koenig) said: > >> On Fri, 21 Dec 2007 23:36:53 -0800, "Philippe M. Chiasson" <[EMAIL >> PROTECTED]> said: > >> http://www.apache.org/~gozer/mp1/mod_perl-1.31-rc1.tar.gz > > > T

Re: Cookie questions

2007-12-24 Thread Boysenberry Payne
Oops, I forgot the some code: # to set $cookie = { -name => "foo", -value => "bar", -path => "/" }; my $data = []; push( @$cookie_data, Apache2::Cookie->new( $r, %{$cookie} ) ); foreach ( @$cookie_data ) { $_->bake( $r ); } # now to unset my $jar = Apache2::Cookie::Jar->new( $r ); my $co

Re: Cookie questions

2007-12-24 Thread Boysenberry Payne
This is what I do: $cookie = { name => "foo", value => "bar" } my $data = []; push( @$data, Apache2::Cookie->new( $r, %{$cookie} ) ); foreach ( @$data ) { $_->bake( $r ); } Hope it helps... -bop On Dec 24, 2007, at 2:55 AM, Raymond Wan wrote: Hi all, Sorry, but I'm not entirely sur

Re: Cookie questions

2007-12-24 Thread John ORourke
Raymond Wan wrote: I was wondering if it was possible to delete cookies. I read that using Javascript, cookies can be deleted by setting it to a time in the past. I'm not sure how to do it in Mason, though. I think I know how to get a cookie and also to set a new one and send it out. But, I

Cookie questions

2007-12-24 Thread Raymond Wan
Hi all, Sorry, but I'm not entirely sure if this is relevant to modperl... I was wondering if it was possible to delete cookies. I read that using Javascript, cookies can be deleted by setting it to a time in the past. I'm not sure how to do it in Mason, though. I think I know how to get a