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

Re: IE wont post after initial request

by vagnerr (Prior)
on Jun 12, 2002 at 15:45 UTC ( #173879=note: print w/replies, xml ) Need Help??


in reply to IE wont post after initial request

It might be that IE is chaching the data and doesnt think it needs to do another post. IE likes to be helpfull like that. Try adding the follwing into you HTML output in the <HEAD> section
<meta http-equiv="Pragma" content="no-cache">

Update: Thanks to Zakb, I was confirming the existance of the Hyphen and stuff :-) (++)

---If it doesn't fit use a bigger hammer

Replies are listed 'Best First'.
Re: Re: IE wont post after initial request
by zakb (Pilgrim) on Jun 12, 2002 at 15:50 UTC

    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.

      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://173879]
help
Chatterbox?
[ambrus]: Corion: no, backwards. It's possible in the general case, but not in the specific case of bad data we have. Which is why it's harder to explain.
[marto]: that reminds me, to donate...
[ambrus]: If it was possible in this specific case, then the burden to argue for that would be his.
[Corion]: ambrus: Ah, but he's the boss, so the burden to show that it's impossible still lies on you :-)
[Corion]: ambrus: I would work with him through an example

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (8)
As of 2017-12-12 13:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (332 votes). Check out past polls.

    Notices?