?
Solved

auto submit an ASP page form

Posted on 2004-04-03
4
Medium Priority
?
1,662 Views
Last Modified: 2008-01-09
Is there a way to have a <form> on an ASP page.

as soon as the form is finished loading I want it to redirect to another ASP page.
0
Comment
Question by:Tom Knowlton
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 12

Expert Comment

by:dfiala13
ID: 10750886
What are you trying to do?
0
 
LVL 2

Expert Comment

by:khurram007
ID: 10750957
Yeah... Please explain you question... it is not clear... Atleast tell what are u trying to do so we could help u in a much better manner.

Khurram
0
 
LVL 1

Assisted Solution

by:jmcraig
jmcraig earned 1000 total points
ID: 10751091


Put this in the top of you page

<META HTTP-EQUIV="refresh" CONTENT="2; URL=/Index.asp">

where the  

URL= /index.asp  

is the page you wish to direct to

Content = "2

is how many seconds to wait before redirect

Joshua
0
 
LVL 7

Accepted Solution

by:
ramesh12 earned 1000 total points
ID: 10751199
If you are asking for a redirction you can do that using

response.redirect "Your Url"

after the form loads

but if you want to submit the asp page use javascript after the </form> tag like this

<script language="javascript">
//document.formname.method="method of submission" // (POST/GET)
document.formname.action="your url";
document.formname.submit();
</script>


 
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have helped a lot of people on EE with their coding sources and have enjoyed near about every minute of it. Sometimes it can get a little tedious but it is always a challenge and the one thing that I always say is:   The Exchange of informatio…
I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question