Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
more useful options
 
PerlMonks  

Re: CGI::Application is ignoring me

by Hero Zzyzzx (Curate)
on Jul 20, 2005 at 22:15 UTC ( [id://476691]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to CGI::Application is ignoring me

This isn't CGI::Applications fault. You're seeing the "sticky form" behaviour that is the default for CGI.pm. Read the docs, looking specifically for the "override" parameter.

"Sticky forms" make programming dynamic forms easier (because CGI.pm remembers form values between invocations, making the "submit/validate/action" cycle easier), but it can on occasion bite you in the butt. Your "rm" value never gets changed because CGI.pm is remembering it. Override will force your new value to take precedence.

-Any sufficiently advanced technology is
indistinguishable from doubletalk.

My Biz

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://476691]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.