Disable Front Page confirnation

C

Chuck

How do you disable the confirmation page after
successfully submitting a form to a database? I haven't
selected a page and get the default one. Very
frustrating. Also, after submitting how would I reset
the form programmatically, or would I need to?
Thanks!!
 
K

Kevin Spencer

A form, when posted, sends a POST request to the server. This means that the
browser expects to get a page back, and the server will return a page. So,
you can't "disable" the confirmation page. However, the confirmation page
can be ANY page you want, if you write your own form handler, and is fairly
configurable if you use FrontPage's form handlers. It's pretty much up to
you what page they DO get back. But keep in mind that they MUST get SOME
page back.

There is no need to reset the form, as it has long gone, and the next
request will NOT return the form page in the state it was when the user left
it. HTTP is stateless. It remembers nothing.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
I get paid good money to
solve puzzles for a living
 
C

clintonG

Consider a kludge work-around. Set up a file named
confirmation_redirect.htm or whatever and put the following HTML
into the <head> section of the file...

<meta http-equiv="refresh" content="0;url=http://somepage.xxx">

Configure the FrontPage form handler to use confirmation_redirect.htm
as the confirmation page. The downside is a brief page flash as the
page loads and redirects.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top