Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Duplicate Internet Explorer action ?
Message
From
30/12/2003 12:52:33
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Internet applications
Title:
Duplicate Internet Explorer action ?
Miscellaneous
Thread ID:
00862897
Message ID:
00862897
Views:
50
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
Reply
Map
View

Click here to load this message in the networking platform