Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 137
  • Last Modified:

HTTP Method Get Post

Hi Expert,

I read other person's code

If HTTPMethod="Get" then

Do something.


My question is when if statement will be true? From same page refresh or from Server.Redirect or Response.redirect?

Thanks in advance.
0
dshi15
Asked:
dshi15
1 Solution
 
Dave BaldwinFixer of ProblemsCommented:
GET is the 'normal' method.  Every link that you click on in a browser uses the 'GET' method.  POST and the other methods require an HTML form or a program to use them.  This http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol is a decent explanation.

I believe that any 'redirect' sends a message to the browser telling it to GET the new page.
0

Featured Post

Independent Software Vendors: 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!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now