Results 1 to 2 of 2

Thread: <form action="Itself.asp" method="Post">

  1. #1
    Join Date
    Oct 2011
    Posts
    10
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default <form action="Itself.asp" method="Post">

    Hello,

    Is it possible to have a form page (asp) process itself? In other words the user clicks a link on a static HTML page called "Register" which brings them to Register.asp:

    <%@ Language=VBScript %>
    <% Option Explicit %>
    <!DOCTYPE etc. etc....>
    <head></head>

    <body>
    <form action="Register.asp" method="Post">
    txtbox, txtbox, pswbox... etc....
    </form>

    </body>

    <!-- AND COULD IT BE PLACED OUTSIDE THE <BODY> TAG??? -->

    <%
    Set ASP = Request.(The Code that processes the form (ADO,FileSystemObject,etc.)).
    %>


    </html>


    Would this be too awkward? Perhaps it is possible but not recommended?

    Elaboration from an experienced ASP 3.0 developer is greatly appreciated.


  2. #2
    Join Date
    Feb 2011
    Posts
    16
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    Yes, having pages post back to themselves is a desireable and common practice.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •