Re: [slightly OT] Problem with cookies

2000-04-08 Thread Randal L. Schwartz
> "Kee" == Kee Hinckley <[EMAIL PROTECTED]> writes: >> Why? Those are orthogonal features. HTTP/1.0 did not require >> "host:". And certainly, browsers that handled HTTP/1.0 had cookies. Kee> I guess I mis-remembered. I thought cookie support came after 1.1. It wouldn't matter if it cam

Re: [slightly OT] Problem with cookies

2000-04-08 Thread Randal L. Schwartz
> "Jeff" == Jeff Stuart <[EMAIL PROTECTED]> writes: Jeff> Now we are moving even further off topic but I've got to put my Jeff> $0.02 in here. :) So what if older browsers might get stuck in Jeff> an infinite loop. GOOD! That's what they deserve for not Jeff> upgrading their browser. I've

RE: best way to call traceroute

2000-04-08 Thread Steven Champeon
On Fri, 7 Apr 2000, Karyn Ulriksen wrote: > One of the reasons that I always like the nph- construction is that is > showed the traceroute 'live' like it would from a console. Last I checked > perl doesn't show the traceroute result until the sessions complete which > could be a long time if ther

Re: [RFC] Exceptions addition for the guide.

2000-04-08 Thread Jeff Beard
Also, checkout Graham Barr's Error.pm for an OO styled "try, throw, catch" model. Really nice for a complete OO Perl design, IMHO. --Jeff The one I use is a customized version but it's basically the OO "try, throw, catch" model that I've seen in other languages. On Sat, 8 Apr 2000, Autarc

RE: [slightly OT] Problem with cookies

2000-04-08 Thread Kee Hinckley
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 At 4:03 PM -0400 4/8/00, Jeff Stuart wrote: >GOOD! That's what they deserve for not upgrading their browser. I've Clearly you've become confused. The owner of the browser is the customer, you are serving them, not the other way around. If you don

Re: [RFC] Exceptions addition for the guide.

2000-04-08 Thread Autarch
On Sat, 8 Apr 2000, Matt Sergeant wrote: > I've written a short document on exception handling for the guide, even > though it's not particularly mod_perl specific, Stas thinks it would be a > good addition. Take a look at it, and let me know if there is anything you > would change before it's ad

Re: Another Error in Apache::ASP and Perl 5.6.0

2000-04-08 Thread Yu Di
Hi, I upgraded my gcc to 2.95.2, re-compiled Perl 5.6.0, Apache 1.3.12, and mod_perl 1.22. I put "PerlModule Apache::ASP" and "PerlModule Apache::DBI" in the httpd.conf. Then it worked. I guess the problem was some confliction between mod_perl and other Apache modules (I installed PHP 4RC1 and fas

RE: [slightly OT] Problem with cookies

2000-04-08 Thread Jeff Stuart
Now we are moving even further off topic but I've got to put my $0.02 in here. :) So what if older browsers might get stuck in an infinite loop. GOOD! That's what they deserve for not upgrading their browser. I've already got to develop DOWN to version 3.0 of the browsers. Now I have to worry

Re: REDIRECT missing Cookie

2000-04-08 Thread Zeqing Xia
I have tried this but with no success. I'm running NS4.7 on RH6.1. What I found when I use Apache::Debug::dump() is that if I use a simple string as the $cookie, the cookie is passed along redirect. However if the $cookie is an object of CGI::Cookie, it is missing in the redirect request. Fred X

Re: REDIRECT missing Cookie

2000-04-08 Thread Ken Williams
[EMAIL PROTECTED] (Zeqing Xia) wrote: >Hi, > >I'm having a problem with setting the cookie in a REDIRECT. Basically, >I'm doing this in a handler: > >$r->headers_out->add('Set-Cookie' => $cookie); >$r->headers_out->add('Location' => $location); >return REDIRECT; Try changing to $r->e

Re: mod_perl shared perl instances?

2000-04-08 Thread Leslie Mikesell
According to Soulhuntre: > > My favorite is throwing a proxy in front... > > The issue in question was getting the perl core out of the address space of > the httpd process entirely :) > > Velocigen does this nicely (though there is a performance penalty) and even > allows degicated machines ru

Re: which handler?!?

2000-04-08 Thread Kevin Murphy
"J. Horner" wrote: > "It is called once per transaction and is intended to allow modules to > step in and perform special processing on the incoming data", which is > what I want, but it goes on to say, "However, because there's no way for > modules to step in and actually contribute to the parsin

[RFC] Exceptions addition for the guide.

2000-04-08 Thread Matt Sergeant
I've written a short document on exception handling for the guide, even though it's not particularly mod_perl specific, Stas thinks it would be a good addition. Take a look at it, and let me know if there is anything you would change before it's added: http://modperl.sergeant.org/guide/exceptions

internal_redirect

2000-04-08 Thread Bill McCabe
Hi All I have a module that displays a selection of FORMs for the user to pick from. The FORMs have TARGET='_BLANK'. The submitted form data is sent to a different module which parses the data and uses 'open' to call an external perl script to generate a file and returns the full disk path of the

Re: REDIRECT missing Cookie

2000-04-08 Thread Jim Winstead
On Apr 08, Zeqing Xia wrote: > Hi, > > I'm having a problem with setting the cookie in a REDIRECT. Basically, > I'm doing this in a handler: > > $r->headers_out->add('Set-Cookie' => $cookie); > $r->headers_out->add('Location' => $location); > return REDIRECT; > > The $location is hi

REDIRECT missing Cookie

2000-04-08 Thread Zeqing Xia
Hi, I'm having a problem with setting the cookie in a REDIRECT. Basically, I'm doing this in a handler: $r->headers_out->add('Set-Cookie' => $cookie); $r->headers_out->add('Location' => $location); return REDIRECT; The $location is hit but the cookie is missing when I debug the hand

Re: [slightly OT] Problem with cookies

2000-04-08 Thread Kee Hinckley
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 At 8:05 PM -0700 4/7/00, Randal L. Schwartz wrote: >Kee> Well, the good news is that if they don't support Host:, they >Kee> certainly aren't going to support cookies! > >Why? Those are orthogonal features. HTTP/1.0 did not require >"host:". And ce

RE: [RFC] holding a mod_perl conference

2000-04-08 Thread Matt Sergeant
> On Wed, 5 Apr 2000, Leon Brocard wrote: > > > I'm currently stuck on venues - I *was* gonna hold it at > > Imperial College (conference fees on the order of single-figure > > dollar ammounts), but talks have kind of dried up. Check out the hotels in the Heathrow area - they have some superb co

RE: mod_perl shared perl instances?

2000-04-08 Thread Soulhuntre
Hiya :) > -Original Message- > From: Joshua Chamas [mailto:[EMAIL PROTECTED]] > Sent: Saturday, April 08, 2000 1:12 AM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: Re: mod_perl shared perl instances? > > Nothing really to be done, but you should note that if you make > ampl