Re: Apache::Cookie -> Apache2::Cookie API Change?

2006-09-22 Thread Derek R. Price
Philip M. Gollucci wrote: > http://svn.apache.org/viewvc?view=rev&rev=447770 > How's that ? Looks good to me. Dave? Derek -- Derek R. Price CVS Solutions Architect Get CVS support at Ximbiot ! v: +1 248.835.1260 f: +1 248.835.1263

Re: Apache::Cookie -> Apache2::Cookie API Change?

2006-09-20 Thread Dave Rolsky
On Tue, 19 Sep 2006, Derek R. Price wrote: Philip M. Gollucci wrote: http://svn.apache.org/viewvc?view=rev&rev=447770 How's that ? Looks good to me. Dave? Not as good as actually _being_ backwards compatible, but if it's documented I can't complain. -dave /*===

Re: Apache::Cookie -> Apache2::Cookie API Change?

2006-09-19 Thread Philip M. Gollucci
Derek R. Price wrote: > Now, using the same Perl source with Apache2::Cookie->new, an undefined > value is returned instead of the new cookie. At best, this appears to > be an API change and should be documented. At worst it appears to be a > bug in libapreq2 that should be fixed. http://svn.apac

Re: Apache::Cookie -> Apache2::Cookie API Change?

2006-09-18 Thread Derek R. Price
This same problem occurs if I call A2::C->new without any value argument ("...new (-name => 'some_cookie', -expire => '-1D', -path => ..., -secure => 0)"), though I didn't verify the A:C->new behavior with no -value at all (only with -value => undef...). Derek Derek R. Price wrote: > Hello, > >

Re: Apache::Cookie baking bug

2005-03-15 Thread Joe Schaefer
"Andrea Palmieri" <[EMAIL PROTECTED]> writes: > I read in some previous message that Apache::Cookie->bake is buggy so used > $r->headers_out->add('Set-Cookie'=>$cookie); Try err_headers_out; I'm not the headers_out table is copied to an internal redirect. -- Joe Schaefer

Re: Apache::Cookie question

2004-12-29 Thread Stas Bekman
Sean Davis wrote: On Dec 28, 2004, at 3:44 PM, Stas Bekman wrote: Sean Davis wrote: On Dec 28, 2004, at 1:57 PM, Malcolm J Harwood wrote: On Tuesday 28 December 2004 01:41 pm, Sean Davis wrote: I am having trouble with Apache::Cookie. I keep getting errors like: Can't locate object "new" via packa

Re: Apache::Cookie question

2004-12-29 Thread Sean Davis
On Dec 28, 2004, at 3:44 PM, Stas Bekman wrote: Sean Davis wrote: On Dec 28, 2004, at 1:57 PM, Malcolm J Harwood wrote: On Tuesday 28 December 2004 01:41 pm, Sean Davis wrote: I am having trouble with Apache::Cookie. I keep getting errors like: Can't locate object "new" via package "Apache::Cooki

Re: Apache::Cookie question

2004-12-28 Thread Perrin Harkins
Sean Davis said: > All execute without errors. Do these need a valid request to be passed > into new before they work? Yes, they only work when run under mod_perl. - Perrin -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiqu

Re: Apache::Cookie question

2004-12-28 Thread Stas Bekman
Sean Davis wrote: On Dec 28, 2004, at 1:57 PM, Malcolm J Harwood wrote: On Tuesday 28 December 2004 01:41 pm, Sean Davis wrote: I am having trouble with Apache::Cookie. I keep getting errors like: Can't locate object "new" via package "Apache::Cookie" The code looks like: Checking the obvious

Re: Apache::Cookie question

2004-12-28 Thread Sean Davis
On Dec 28, 2004, at 2:08 PM, Skylos wrote: Okay, checking another fairly obvious. Do you have libapreq installed? Skylos sdavis% perl -MApache::Request -e '0' sdavis% perl -MApache::Cookie -e '0' sdavis% perl -MApache::libapreq -e '0' All execute without errors. Do these need a valid request to b

Re: Apache::Cookie question

2004-12-28 Thread Sean Davis
On Dec 28, 2004, at 1:57 PM, Malcolm J Harwood wrote: On Tuesday 28 December 2004 01:41 pm, Sean Davis wrote: I am having trouble with Apache::Cookie. I keep getting errors like: Can't locate object "new" via package "Apache::Cookie" The code looks like: Checking the obvious, do you have a "us

Re: Apache::Cookie question

2004-12-28 Thread Malcolm J Harwood
On Tuesday 28 December 2004 01:41 pm, Sean Davis wrote: > I am having trouble with Apache::Cookie. I keep getting errors like: > Can't locate object "new" via package "Apache::Cookie" > The code looks like: Checking the obvious, do you have a "use Apache::Cookie" before: > sub session { -

Re: Apache::Cookie->new/bake broken - mod_perl 2

2004-11-21 Thread Joe Schaefer
Jozef Kosoru <[EMAIL PROTECTED]> writes: [...] > I would like to point out, that I have observed the > same problem with apreq2 Apache::Cookie. Sometimes browser gets a > truncated cookie and sometimes even a garbage cookie data. This bug should be fixed in the current svn trunk, thanks to Boja

Re: Apache::Cookie->new/bake broken - mod_perl 2

2004-11-20 Thread Jozef Kosoru
Hi, On Wed, Nov 10, 2004 at 13:05:43 -0800, Dan Sully wrote: > I'm running into an interesting problem, using Apache::SessionManager. > > My first request to the webpage successfully generates a cookie, and I > see it in my browser's jar. The next response though, the > Apache::Cookie->fetch() ge

Re: Apache::Cookie

2004-11-12 Thread Arshavir Grigorian
Geoffrey Young wrote: Thanks for the feedback. I guess I am wondering who I would need to talk to in order to get this fixed. Joe is the man :) Just to understand, why does it need to use the err_headers_out instead of headers_out? There does not seem to be any errors. Am I misinterpreting

Re: Apache::Cookie

2004-11-11 Thread Geoffrey Young
> Thanks for the feedback. I guess I am wondering who I would need to talk > to in order to get this fixed. Joe is the man :) > > Just to understand, why does it need to use the err_headers_out instead > of headers_out? There does not seem to be any errors. Am I > misinterpreting the function n

Re: Apache::Cookie

2004-11-11 Thread ___cliff rayman___
Arshavir Grigorian wrote: Geoffrey Young wrote: libapreq2 is currently using $r->headers_out instead of $r->err_headers_out, which is why you're not seeing the cookie on your redirect response. I think the consensus is that this is a bug in libapreq2-2.04, but I haven't seen any other apreq commit

Re: Apache::Cookie

2004-11-11 Thread Arshavir Grigorian
Geoffrey Young wrote: libapreq2 is currently using $r->headers_out instead of $r->err_headers_out, which is why you're not seeing the cookie on your redirect response. I think the consensus is that this is a bug in libapreq2-2.04, but I haven't seen any other apreq committers weigh in on the subje

Re: Apache::Cookie

2004-11-11 Thread Geoffrey Young
> libapreq2 is currently using $r->headers_out instead > of $r->err_headers_out, which is why you're not seeing the > cookie on your redirect response. I think the consensus > is that this is a bug in libapreq2-2.04, but I haven't seen > any other apreq committers weigh in on the subject, so > I'

Re: Apache::Cookie->new/bake broken - mod_perl 2

2004-11-11 Thread Dan Sully
* Joe Schaefer <[EMAIL PROTECTED]> shaped the electrons to say... My first request to the webpage successfully generates a cookie, and I see it in my browser's jar. The next response though, the Apache::Cookie->fetch() gets a truncated cookie (md5 sum), and can't tie to the previous session and cre

Re: Apache::Cookie

2004-11-11 Thread Joe Schaefer
Arshavir Grigorian <[EMAIL PROTECTED]> writes: > # WORKS > my $cookie = $ticket->cookie()->as_string(); > $r->err_headers_out->add('Set-Cookie' => $cookie); > > # DOES NOT WORK$ticket->cookie()->bake(); > where $ticket->cookie() is an Apache::Cookie object. This is > the first thing i

Re: Apache::Cookie->new/bake broken - mod_perl 2

2004-11-11 Thread Joe Schaefer
Dan Sully <[EMAIL PROTECTED]> writes: > I'm running into an interesting problem, using Apache::SessionManager. > > My first request to the webpage successfully generates a cookie, and I see it > in my browser's jar. The next response though, the Apache::Cookie->fetch() > gets a truncated cookie (

Re: Apache::Cookie->new/bake broken - mod_perl 2

2004-11-10 Thread Arshavir Grigorian
I actually reported the same problem yesterday, but wasn't sure whether I was doing something wrong. Is this the appropriate list for discussing liapreq2 issues? Arshavir Dan Sully wrote: I'm running into an interesting problem, using Apache::SessionManager. My first request to the webpage succe

Re: Apache::Cookie seems to read different Cookie than CGI

2004-10-21 Thread Joe Schaefer
[EMAIL PROTECTED] writes: > Thanks Ian > > It occurred to me after I send the original email that the space may > be escaped with a +. It's not clear to me whether spaces are permitted > in cookie values The Netscape Cookie spec does not allow space chars in the raw cookie (ie the NAME=VALUE po

Re: Apache::Cookie seems to read different Cookie than CGI

2004-10-21 Thread dan . horne
o:        [EMAIL PROTECTED]         cc:        [EMAIL PROTECTED]         Subject:        Re: Apache::Cookie seems to read different Cookie than CGI [EMAIL PROTECTED] wrote: Hi All I have to read a domain cookie set by a ColdFusion Web Server on a different host. CF sets a cookie value like [EMAIL PR

Re: Apache::Cookie seems to read different Cookie than CGI

2004-10-21 Thread idstewart
[EMAIL PROTECTED] wrote: Hi All I have to read a domain cookie set by a ColdFusion Web Server on a different host. CF sets a cookie value like [EMAIL PROTECTED]|2004-10-22 16:16:41|70DC39BB99CB4CB826E3F30AA25D97FE I can read this cookie with CGI.pm, and it seems to id

Re: Apache::Cookie not finding cookies ...

2004-03-30 Thread Brian Clarkson
Nick Phillips wrote: On 30/03/2004, at 5:21 AM, Brian Clarkson wrote: I'm hoping that I'm doing something wrong ... I've tried the logout.pl that comes in the Apache::AuthCookie dist, but that didn't work. My code has an object that has an Apache::Request object stuffed into it, and: I don't

Re: Apache::Cookie not finding cookies ...

2004-03-29 Thread Nick Phillips
On 30/03/2004, at 5:21 AM, Brian Clarkson wrote: I'm hoping that I'm doing something wrong ... I've tried the logout.pl that comes in the Apache::AuthCookie dist, but that didn't work. My code has an object that has an Apache::Request object stuffed into it, and: sub logout { my ($self)

Re: Apache::Cookie and CGI::Cookie Interoperability

2004-03-10 Thread Perrin Harkins
James Taylor wrote: If this isn't a possibility, do you have any suggestions on something else to do? Stas was suggesting that you can set environment variables to pass data instead, by using the $r->subprocess_env method call. - Perrin -- Report problems: http://perl.apache.org/bugs/ Mail list

Re: Apache::Cookie and CGI::Cookie Interoperability

2004-03-10 Thread Joe Schaefer
Stas Bekman <[EMAIL PROTECTED]> writes: > James Taylor wrote: > > I'm having difficulty getting my mod_perl scripts and then my > > non-mod_perl scripts reading cookies between each other. I have a > > mod_perl TransHandler that sets a cookie via Apache::Cookie, and > > then I have some scripts i

Re: Apache::Cookie and CGI::Cookie Interoperability

2004-03-10 Thread James Taylor
I'm not sure that I understand... Are you saying that it's not a possible to do this? If this isn't a possibility, do you have any suggestions on something else to do? On Mar 10, 2004, at 6:44 PM, Stas Bekman wrote: James Taylor wrote: I'm having difficulty getting my mod_perl scripts and then

Re: Apache::Cookie and CGI::Cookie Interoperability

2004-03-10 Thread O'K Web Design
Hi James I have never used cookies but have been doing a little research. I would make sure that the cookie you are setting does not have a path value attached to it. If you only set the domain value, you should be ok from my research. Mike - Original Message - From: "James Taylo

Re: Apache::Cookie and CGI::Cookie Interoperability

2004-03-10 Thread Stas Bekman
James Taylor wrote: I'm having difficulty getting my mod_perl scripts and then my non-mod_perl scripts reading cookies between each other. I have a mod_perl TransHandler that sets a cookie via Apache::Cookie, and then I have some scripts in my /cgi-bin that try and read the cookie using basic

Re: Apache-Cookie

2004-03-03 Thread Randy Kobes
On Tue, 2 Mar 2004, Carl Holm wrote: > Randy Kobes wrote: > > >On Mon, 1 Mar 2004, Carl Holm wrote: > > > >[ ... ] > > > >>Thanks for the suggestions. Mod-perl2 works OK. No complaints from > >>Apache::Request. I added the appropriate LoadFile directive, and now get > >>the following error stack:

Re: Apache-Cookie

2004-03-02 Thread Carl Holm
Randy Kobes wrote: On Mon, 1 Mar 2004, Carl Holm wrote: [ ... ] Thanks for the suggestions. Mod-perl2 works OK. No complaints from Apache::Request. I added the appropriate LoadFile directive, and now get the following error stack: [Mon Mar 01 18:05:33 2004] [error] [client 127.0.0.1] Can't loa

Re: Apache-Cookie

2004-03-01 Thread Randy Kobes
On Mon, 1 Mar 2004, Carl Holm wrote: [ ... ] > Thanks for the suggestions. Mod-perl2 works OK. No complaints from > Apache::Request. I added the appropriate LoadFile directive, and now get > the following error stack: > > [Mon Mar 01 18:05:33 2004] [error] [client 127.0.0.1] Can't load > 'C:/Perl/

Re: Apache-Cookie

2004-03-01 Thread Carl Holm
Randy Kobes wrote: On Mon, 1 Mar 2004, Carl Holm wrote: Hello, With the following server environment: SERVER_SOFTWARE = "Apache/2.0.47 (Win32) mod_perl/1.99_10-dev Perl/v5.8.0 PHP/4.3.2", and libapreq2 installed via PPM, I am not able to load Apache::Cookie. I would appreciate hearing about

Re: Apache-Cookie

2004-03-01 Thread Randy Kobes
On Mon, 1 Mar 2004, Carl Holm wrote: > Hello, > > With the following server environment: SERVER_SOFTWARE = > "Apache/2.0.47 (Win32) mod_perl/1.99_10-dev Perl/v5.8.0 > PHP/4.3.2", and libapreq2 installed via PPM, I am not able > to load Apache::Cookie. I would appreciate hearing about > any succe

Re: Apache::Cookie->fetch

2003-12-17 Thread Stas Bekman
Paul Flinders wrote: Another porting issue for mod_perl2, admittedly this is a libapreq2 change but it might be worth including in the mod_perl porting documentation as anyone porting an application might well run into it (well, I did) Apache::Cookie->fetch in libapreq2 requires that the request ob