|
|
Subject:
Need script to do a URL auto-Redirect to by-pass a page that requries log-in.
Category: Computers > Programming Asked by: kcbjordan-ga List Price: $15.00 |
Posted:
28 Sep 2004 11:20 PDT
Expires: 28 Oct 2004 11:20 PDT Question ID: 407515 |
Problem: how do I create a straight path either by URL, web page redirect, or by other means, that will accomplish the following: 1. Take visitors directly to this page: https://www.orderpopcorn.com/ AND; 2. Automatically plug in AND submit the Order Key: "TE6642", so that the visitor automatically lands on our popcorn order page, and not the ?plug in your Order Key, log-on page?? I have tried copying the URL of the destination (order page), however since that page is created dynamically, using a static URL won't work. (my first attempt at a non-working redirect http://www.supportscouts.com ). So my second attempt at a solution is to see if there is a script or code out there I can scavenge that would do the URL redirect, AS WELL as enter the specific order key I need, and submit it to land on my scouts order page, in one easy click. I'm a cut-and-paste web page programmer, and don't know if there is anything out there server or client side that could accomplish what I'm trying to do. P.S. This is for a good cause; Cub Scouts, a speedy answer will be rewarded with a warm feeling in the cockles of your heart, as well as a modest tip. Note: The target site will not provide me a direct link, nor are they interested in changing the current way they operate the web site. |
|
Subject:
Re: Need script to do a URL auto-Redirect to by-pass a page that requries log-in
Answered By: googleexpert-ga on 28 Sep 2004 20:34 PDT Rated: |
Hi kcbjordan-ga, It took me a while to get the redirect working until I noticed there was a typo. :( Anyway, it has been fixed :) Please copy and paste the following into a new HTML document. (example name: tester.html): <html> <body onload="document.frm.submit();"> <form action="https://orderpopcorn.com/index.asp" name="frm" method="POST"> <input type="text" name="ScoutKey" value="TE6642"> <input type="hidden" name="action" value="PostScoutKey"> <input type="submit" name="submitter" value="Submit"> </form> </body> </html> Please let me know if you have anymore questions. Thank you. -googleexpert | |
|
kcbjordan-ga
rated this answer:
and gave an additional tip of:
$5.00
Loading the page as you listed below created a security error on the 3-4 PCs I tried to access the page on, however once I removed the "s" from the HTTPS, the problem was solved. The target site must have a redirect, and that cleared up Internet Explorers security issue. I thank you for your quick response, and reward you with a modest tip. If you are in need of a place to spend that money, might I suggest my sons Cub Scout Pack? ;-) Thanks to you we are successfully on-line at http://www.supportscouts.com ! |
|
There are no comments at this time. |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |