Re: Apache::Request equivalent of CGI::Capture?

[prev] [thread] [next] [Date index for 2005/02/17]

From: Adam Kennedy
Subject: Re: Apache::Request equivalent of CGI::Capture?
Date: 01:52 on 17 Feb 2005
For the record, and those that haven't seen CGI::Capture before (I wrote 
it only fairly recently) all it really does is grab the environment and 
a couple of magic variable values, then take STDIN before CGI.pm gets a 
chance to parse it.

These bits are all stored in an object, which is just Storable'd to disk.

Rebuilding simple consists of setting the environment back again, and 
replacing STDIN with a IO::Scalar to the previously captured data.

Adam

David Naughton wrote:
> Has anyone implemented the equivalent of CGI::Capture for
> Apache::Request? If not, I may want to implement it myself. However, I'm
> fairly new to mod_perl, so maybe there's a completely different and
> better way to solve my problem, in which case I would appreciate some
> enlightenment.
> 
> My problem is that I need to interact with a single sign-on system that
> runs on a different server. If the user must authenticate, my server
> must redirect the user to a login application on the SSO server, which,
> upon successful login, will redirect the user back to whatever uri she
> was originally trying to access on my server. I want to do this in a way
> that is transparent to the user, even if she was uploading a file at the
> time of the redirect. 
> 
> Under CGI, I don't think just saving the CGI object will work for file
> uploads, but it seems that saving a CGI::Capture object will work just
> fine. Is there a similar, already-existing solution for Apache::Request?
> Or would I be better off pursuing a different solution, anyway?
> 
> Any help would be much appreciated!
> 
> Thank you,
> David Naughton

(message missing)

securing web form interaction
Jonathan Vanasco 18:02 on 15 Feb 2005

Re: securing web form interaction
ben syverson 18:36 on 15 Feb 2005

Re: securing web form interaction
Arshavir Grigorian 14:41 on 16 Feb 2005

Apache::Request equivalent of CGI::Capture?
David Naughton 21:48 on 16 Feb 2005

Re: Apache::Request equivalent of CGI::Capture?
Adam Kennedy 01:52 on 17 Feb 2005

Re: Apache::Request equivalent of CGI::Capture?
Joe Schaefer 02:22 on 17 Feb 2005

Re: securing web form interaction
Sean Davis 18:40 on 15 Feb 2005

RE: securing web form interaction
Adam Prime x443 19:07 on 15 Feb 2005

Re: securing web form interaction
Ian Joyce 19:09 on 15 Feb 2005

Re: securing web form interaction
Octavian Rasnita 19:19 on 15 Feb 2005

Re: securing web form interaction
Perrin Harkins 20:24 on 15 Feb 2005

RE: securing web form interaction
Adam Prime x443 19:11 on 15 Feb 2005

Re: securing web form interaction
Malcolm J Harwood 21:19 on 15 Feb 2005

Re: securing web form interaction
Octavian Rasnita 19:20 on 15 Feb 2005

Re: securing web form interaction
ben syverson 20:33 on 15 Feb 2005

Re: securing web form interaction
Octavian Rasnita 08:10 on 16 Feb 2005

RE: securing web form interaction
Adam Prime x443 21:13 on 15 Feb 2005

Re: Apache::Request equivalent of CGI::Capture?
Stas Bekman 03:40 on 17 Feb 2005

Re: Apache::Request equivalent of CGI::Capture?
William McKee 14:49 on 17 Feb 2005

Generated at 11:21 on 20 Feb 2005 by mariachi v0.52