Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Re: IE wont post after initial request

by zakb (Pilgrim)
on Jun 12, 2002 at 15:50 UTC ( #173882=note: print w/replies, xml ) Need Help??


in reply to Re: IE wont post after initial request
in thread IE wont post after initial request

That should be:

<meta http-equiv="Pragma" content="no-cache">

Chances are, for this to work properly in all browsers, you'll also need:

<meta http-equiv="Cache-Control" content="no-cache"> <meta http-equiv="Expires" content="0">

Note that these tags will most definitely not work unless they are between your <head> and </head> tags. See here for some useful information.

Replies are listed 'Best First'.
Re: Re: Re: IE wont post after initial request
by BigJoe (Curate) on Jun 12, 2002 at 15:55 UTC
    I tried this and it still doesn't work after the first post
    #!/usr/bin/perl -wT use strict; use CGI; my $q = new CGI; print $q->header; print <<EODUMP; <html> <head> <meta http-equiv="Pragma" content="no-cache"> <meta http-equiv="Cache-Control" content="no-cache"> <meta http-equiv="Expires" content="0"> </head> <body> <form method=post> <input type=text name=foo><br> <input type=submit value=Submit> </form> EODUMP #if(defined($q->param('foo'))){ print $q->param('foo'); #} print "</body></html>";


    --BigJoe

    Learn patience, you must.
    Young PerlMonk, craves Not these things.
    Use the source Luke.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://173882]
help
Chatterbox?
Jar. Jar!...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (2)
As of 2017-09-23 18:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (273 votes). Check out past polls.

    Notices?