Re: submit form data concept

From: Jeff Cochran (jeff.nospam_at_zina.com)
Date: 08/20/04


Date: Fri, 20 Aug 2004 12:23:47 GMT

On Thu, 19 Aug 2004 22:34:02 -0700, "Matt" <mattloude@hotmail.com>
wrote:

>When people say submit the form data, does it mean the form data are
>submitted to web browser using either HTTP GET or POST method, and then it
>will redirect to another page.
>
>For example, this is page1.aspx
>
><form action="page2.aspx" method="post">
>
>means it will submit the page1.aspx form data to the web server, and then
>redirect from page1.aspxto page2.aspx?

POST or GET will always have a page that the request is directed to,
but it doesn't need to be a different page than the original. It can
recursively submit to itself with no problem, you just have to have
all the code in the single page to both create the form and handle the
results.

Simple example, save as "test.asp":

<html>
<head>
<title>Test Page</title>
</head>
<body>
<p>Please Enter Your Name:</p>
<form action='test.asp'>
<input type='text' name='name' id='name' size='30'>
<input type='submit' name='submit' value='Submit'>
</form>
<hr>
<%
Response.Write "Your Name Is: " & Request.Querystring("Name")
%>
</body>
</html>

Enjoy!

Jeff



Relevant Pages

  • submit form data concept
    ... When people say submit the form data, does it mean the form data are ... submitted to web browser using either HTTP GET or POST method, ... will redirect to another page. ...
    (microsoft.public.inetserver.asp.general)
  • submit form data concept
    ... When people say submit the form data, does it mean the form data are ... submitted to web browser using either HTTP GET or POST method, ... will redirect to another page. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Internet Explorer SSL encoding
    ... >I have a web page at an http address. ... and yet the post method is done through http://. ... and the server, and demonstrate that the text is not sent in the clear. ... Fax/Voice +1258-9858 | read details of WFTPD Pro for XP/2000/NT. ...
    (microsoft.public.security)
  • ISA 2004 do not support HTTP POST method website
    ... Rule 8 = block content types such as audio and video ... Rule 9 = allow all http and https protocol for all content types. ... I observed the monitoring logging, when a page is in POST method, the page ... Video, there is not problem with Rule 9 without any Refresh. ...
    (microsoft.public.isa.enterprise)
  • ISA 2004 do not support HTTP POST method website
    ... Rule 8 = block content types such as audio and video ... Rule 9 = allow all http and https protocol for all content types. ... I observed the monitoring logging, when a page is in POST method, the page ... Video, there is not problem with Rule 9 without any Refresh. ...
    (microsoft.public.isaserver)