Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://665152]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2024-04-25 21:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found