It depends on what you mean by "pass cgi parameters between run modes".
If you mean that one mode generates a page that the user sees and interacts with which in turn calls another run mode, then yes.
If you mean that one mode does something and then returns another mode (return $self->mode1 ) then no.
Depending on what you want to pass around, a session (CGI::Session, Apache::Session, or even better, CGI::Application::Pluing::Session) would be better. The only thing you should need to pass around would be the session id, but I usually keep that in a cookie.
Does that help?
Sean Davis wrote:
I am using HTML::Template and need to pass cgi parameters between run modes. Do I have to always use a "hidden" field, or is it adequate to set the parameter via $query->param('name','value')? In my current app, I seem to have to use a hidden field and I have seen others choosing to do both, also. Can someone clarify for me?
Thanks. Sean
--------------------------------------------------------------------- Web Archive: http://www.mail-archive.com/[EMAIL PROTECTED]/ http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2 To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Michael Peters Developer Plus Three, LP
--------------------------------------------------------------------- Web Archive: http://www.mail-archive.com/[EMAIL PROTECTED]/ http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2 To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
