Different Between Post & Get

  • Thread starter Thread starter ElanKathir
  • Start date Start date
E

ElanKathir

Hi ,

What is the different between Post and Get mothed in ASP.Net ?

Thanks & Regrads

Elankathir,
B'lore,
India.
 
Hi Elan Kathir,

POST puts the form values into the headers of the HTTP communication, GET
puts the form values into the URL string. GET is limited to about 256
characters (usually a browser limitation) and creates really ugly URLs.
POST allows you to have extremely dense forms and pass that to the server
without clutter or limitation in size. e.g. you obviously can't send a file
from the client to the server via GET.

Regards,
Jignesh.
 
Hi Jignesh,

But How to Get the Value from the Server Side,
When you sent using Get.

In Post, the Server Control's are receive the values.

Thanks & Regards

Elankathir,
B'lore,
India.
 
You can get values from the querystring by calling the following.

Request.QueryString("myVariable")
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top