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.
LVL 1
dshi15Asked:
Who is Participating?
 
Dave BaldwinConnect With a Mentor Fixer 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
All Courses

From novice to tech pro — start learning today.