Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Duplicate Internet Explorer action ?
Message
De
30/12/2003 12:52:33
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Titre:
Duplicate Internet Explorer action ?
Divers
Thread ID:
00862897
Message ID:
00862897
Vues:
49
I'm using VFP 7.0

I'm trying to duplicate in the webbrowser something Internet Explorer does.

In IE:
I submit a Form with method=Post and several parameters and it opens a new page.
I then hit the Refresh button and IE re-submits all the parameters from the Form.
<form name=myForm action="http://myWeb.com/cgi-bin/myPage.pl" method=Post>
  <input type=hidden value=1 name=my_1>
  <input type=hidden value=2 name=my_2>
  <input type=submit>
</form>
When I hit the Refresh button while on myPage.pl
IE asks me if I want to resend the parameters and then re-submits "my_1" and "my_2".

How can I get webbrowser to do the same?

The only thing I can think of is to catch the DownLoadBegin() in webbrowser and save all the forms with their elements , but even then I can see problems trying to figure out which form was being submitted if they have the same action with different parameters.

TIA
Bill Morris
Répondre
Fil
Voir

Click here to load this message in the networking platform