Terrence Brannon wrote:

Can I simply do $self->logout_confirmation_runmode to 'internal redirect' to
another runmode?

Yes. If you don't have anything that depends on what the value of current_runmode() is, then that's the simplest (and fastest) approach. If you do need current_runmode() to be updated then look at C::A::Plugin::Forward. If you need any cookies to be updated between run modes then you'll need to go back to the client and then come back. Pretty easy and even easier with C::A::Plugin::Redirect.

--
Michael Peters
Plus Three, LP


#####  CGI::Application community mailing list  ################
##                                                            ##
##  To unsubscribe, or change your message delivery options,  ##
##  visit:  http://www.erlbaum.net/mailman/listinfo/cgiapp    ##
##                                                            ##
##  Web archive:   http://www.erlbaum.net/pipermail/cgiapp/   ##
##  Wiki:          http://cgiapp.erlbaum.net/                 ##
##                                                            ##
################################################################

Reply via email to