Re: Resetting STDIN after r->read

2001-06-14 Thread Doug MacEachern
On Fri, 8 Jun 2001, Rodney Broom wrote: > OK, here's what the solution was. According to Doug in a posting that I > found in an archive search, mod_perl's STDIN is really just a Perl glob, and > not a file handle. So instead of reading from it (and thereby emptying the > file handle named STDIN s

Re: Resetting STDIN after r->read

2001-06-08 Thread Rodney Broom
From: rodney Broom <[EMAIL PROTECTED]> > I've got this module that needs to redirect sometimes. In doing this, the > next request misses any POST data. I was playing with saving the data to > disk and then reloading it on the next request like this: > > if ($first_pass) { > $r->read($data, .

Re: Resetting STDIN after r->read

2001-06-08 Thread rodney Broom
From: Geoffrey Young <[EMAIL PROTECTED]> > of course > http://perl.apache.org/guide/snippets.html#Redirecting_POST_Requests Heh, close. I'm using an external redirect because my purpose is to reset the address in the client's "Location" bar. So an internal redirect won't give me the desired effe

RE: Resetting STDIN after r->read

2001-06-08 Thread Geoffrey Young
> -Original Message- > From: rodney Broom [mailto:[EMAIL PROTECTED]] > Sent: Friday, June 08, 2001 3:25 PM > To: [EMAIL PROTECTED] > Subject: Resetting STDIN after r->read > > > > I've got this module that needs to redirect sometimes. In > doing this, the > next request misses any PO