How to get Server response variabes, with a Form Post????

Discussion in 'ASP.NET / ASP.NET Core' started by rauldiazpena, Feb 22, 2007.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. I need to send Data to Server throughForm Post. Server doesnt allow Get method. And when it receives the Post, it just simply response with a string in the same page. It doesnt redirect to any url.

    So there is my problem, How can i get this string????

    The Form Action, is the url of the server listening, so when submiting the form, it redirects to the server url, and there is no redirection back to one of my pages. How can i get the server response variables????

    Thanx
     
  2. I believe the form action should be the name of the script file handling your request and the the response from the sever would be whatever your script does i.e it could redirect.

    A only reason to have the action not to have a script url is when you need to get a 'button' which when pressed takes you to a new page(Simple redirect). This can be done with:

    <FORM ACTION='URL' METHOD=POST>
    <INPUT TYPE=submit VALUE='Go to destination'>
    </FORM>

    Vikram

    DiscountASP.NET
    www.DiscountASP.NET
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page