Re: does pnotes() work at all in 1.27? [RESOLVED]

2003-07-20 Thread Mark Maunder
oding: chunked > Content-Type: text/html > > 1c > Hello World! > You are in main > 0 > > > On Sat, 2003-07-19 at 07:34, James Hartling wrote: > > I think Mark had tried it without Apache::Request. Also, it was obvious at > > some point that he wasn&#x

Re: does pnotes() work at all in 1.27?

2003-07-19 Thread Mark Maunder
). Mark, have you tested $r->notes, and is that working? I notice > that your 'marktest' pnote test used a string value. Perhaps pnotes insists > on storing refs, not strings - I've never tried it though. You might also > start farther back in the request cycle and see

Re: does pnotes() work at all in 1.27?

2003-07-19 Thread James Hartling
lt;[EMAIL PROTECTED]> To: "Mark Maunder" <[EMAIL PROTECTED]> Cc: "James Hartling" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Saturday, July 19, 2003 4:55 AM Subject: Re: does pnotes() work at all in 1.27? > Mark Maunder wrote: > > Hi Stas, > &

Re: does pnotes() work at all in 1.27?

2003-07-19 Thread Stas Bekman
Mark Maunder wrote: Hi Stas, Thanks for the input. Tried that and no luck. I tried using ->instance() instead of ->new() in both handlers, and it didn't work. Just for kicks I tried using a few combinations of new() and instance() and no go there either. I also checked that I had the main request

Re: does pnotes() work at all in 1.27?

2003-07-19 Thread Mark Maunder
Hi Stas, Thanks for the input. Tried that and no luck. I tried using ->instance() instead of ->new() in both handlers, and it didn't work. Just for kicks I tried using a few combinations of new() and instance() and no go there either. I also checked that I had the main request using is_main just t

Re: does pnotes() work at all in 1.27?

2003-07-18 Thread Stas Bekman
James Hartling wrote: I use pnotes all over the place in 1.27, and haven't noticed any problems. I just stepped through some code and everything looks good between the Init phase and the content handling phase. I'm using Apache::Request->instance everywhere so I'm dealing with the same request obje

Re: does pnotes() work at all in 1.27?

2003-07-18 Thread Dennis Stout
> No progress yet. I just tested pnotes in the same handler and it works. > Tested it again by setting a value in the content handler and trying to > retreive it it my logging handler and no luck. It looks like I start work on finding out about your problem tonight instead of last night. Funny st

Re: does pnotes() work at all in 1.27?

2003-07-18 Thread James Hartling
lt;[EMAIL PROTECTED]> Sent: Friday, July 18, 2003 3:08 PM Subject: Re: does pnotes() work at all in 1.27? > Hi Perrin, thanks for the reply. > > No progress yet. I just tested pnotes in the same handler and it works. > Tested it again by setting a value in the content handler and

Re: does pnotes() work at all in 1.27?

2003-07-18 Thread Mark Maunder
Hi Perrin, thanks for the reply. No progress yet. I just tested pnotes in the same handler and it works. Tested it again by setting a value in the content handler and trying to retreive it it my logging handler and no luck. #The line in my content handler is: $sess->get_r()->pnotes('marktest', 'a

Re: does pnotes() work at all in 1.27?

2003-07-18 Thread Perrin Harkins
On Thu, 2003-07-17 at 16:51, Mark Maunder wrote: > > And then install those as a content and logging phase handler. If you > > have the time and the interest. I've tried this and the logging handler > > comes up with nothing in pnotes. I've also checked that it's not a sub > > request. Did you get

Re: does pnotes() work at all in 1.27?

2003-07-17 Thread Mark Maunder
(That's supposed to be send_http_header() - and there's prob a few other errors in there. :) On Thu, 2003-07-17 at 13:50, Mark Maunder wrote: > Thanks - would be helpful if you could try to use pnotes to communicate > between two mod_perl handlers. Just some really basic code like: > package MyCon

Re: does pnotes() work at all in 1.27?

2003-07-17 Thread Mark Maunder
Thanks - would be helpful if you could try to use pnotes to communicate between two mod_perl handlers. Just some really basic code like: package MyContentHandler; use Apache::Constants qw( :common ); sub handler { my $r = shift @_; $r->pnotes('mykey', 'A regular string scalar');

Re: does pnotes() work at all in 1.27?

2003-07-17 Thread Dennis Stout
> Has anyone gotten $r->pnotes() to work under Apache 1.3.27 and mod_perl > 1.27? A simple yes will do because then at least I'll know if it's my > mistake or a bug. I'll work on it when I get home again. weee, thursday, gotta have this project done monday.. *sigh* The good news, is that I run

does pnotes() work at all in 1.27?

2003-07-17 Thread Mark Maunder
Sorry about the repost, but this is driving me nuts. Has anyone gotten $r->pnotes() to work under Apache 1.3.27 and mod_perl 1.27? A simple yes will do because then at least I'll know if it's my mistake or a bug. It's this posting that makes me think it's a bug: http://groups.yahoo.com/group/mod