[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cgiapp] Redirect question
- Subject: [cgiapp] Redirect question
- Date: Thu, 6 Jan 2005 10:06:52 -0500
- From: Sean Davis <suppressed>
I am using CGI::App in a mod_perl environment. I typically have
run_modes submit back to themselves for validation, etc. If the form
information "passes", I return $self->next_run_mode (just an example).
I have made a couple of changes to my previous coding style. First, I
am using path_info to get the runmode (makes linking and handler
dispatching much simpler). Second, because of the first, I want to use
redirects to move from one run_mode to the next; that is, a form
submits back to itself and is validated, I do a
$self->redirect('next_run_mode'). It seems that redirects do not
conserve the POST information. Is this true? If so, does this sound
familiar to others? What other coding idioms do people use besides
submit-to-self?
Thanks,
Sean
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/suppressed/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.