Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Cannot clear cgi param (if it's really what I need to do)

by moritz (Cardinal)
on Jan 30, 2008 at 16:21 UTC ( #665152=note: print w/replies, xml ) Need Help??


in reply to Cannot clear cgi param (if it's really what I need to do)

When you clear the data from a particular CGI object, $query, you should call the method hidden on that object. Don't use the sub form.

I think

my $query = new CGI; $query->delete_all(); print $query->hidden(mode => 'save');
should work (not tested, though).

Replies are listed 'Best First'.
Re^2: Cannot clear cgi param (if it's really what I need to do)
by lepetitalbert (Abbot) on Jan 30, 2008 at 16:35 UTC

    Hi moritz

    Yes works :)

    Besten Dank !

    Have a nice day.

    "There is only one good, namely knowledge, and only one evil, namely ignorance." Socrates

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://665152]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2021-04-13 20:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?