I would like to be able give CGI::Application a new query object after new() has been called but query() seems to preclude this. E.g. this comment in the source:
(in sub query in CGI::Application) # We're only allowed to set a new query object if one does not yet exist! The reason I'd like to do this is that I need the user to be able to jump from one runmode to another and then jump back to where they were with the state restored as if they'd never left. The specific application is a "user preferences" page that's accessible from any runmode. Once they set the preferences, I want to jump back to where they were. I think I can do this by using CGI::save to save the state (and stick it in a cookie) then check in cgiapp_prerun if the state should be restored and restore it with a CGI::new but I need the new CGI object to replace the one that CGI::Application has already created. Any ides how to do this. Also, what's the reason that I can't give CGI::Application a new query object anytime I want? Cheers, --Rhet --------------------------------------------------------------------- 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]
