Reply
wht is diff between GET and POST ?
Old 01-10-2008, 12:34 AM wht is diff between GET and POST ?
Novice Talker

Posts: 5
Name: Suresh Chander
Location: India
Hi i want to know the real difference between GET and POST fucntion of ASP.
Suresh Chander is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
     
Old 01-10-2008, 12:43 AM Re: wht is diff between GET and POST ?
ravisatan's Avatar
Experienced Talker

Posts: 32
Name: Ravi B
Location: Mauritius
I'm a php developer but the concept of get and post remains the same for any scripting language.

when you do a POST, the variables passed are hidden but with GET method, the variables passed are visible in the url
eg
if you had a form like below
<form action="action.php" method="get">
<input type="text" name="id" value="">
<input type="submit">
</form>


so when you click on submit, your browser will send the variables to the file action.php, and the url will appear as such
http://yourdomain.com/action.php?id=something

but when you do a POST, you will not see the variables

hope this helps
__________________
Ravi b - Project Manager
Sufixe Web Design Mauritius & Islandinfo Mauritius
ravisatan is offline
Reply With Quote
View Public Profile Visit ravisatan's homepage!
 
Old 01-10-2008, 12:55 AM Re: wht is diff between GET and POST ?
Experienced Talker

Posts: 32
Yeah, the principles are the same with all programming languages as far as I know.
__________________
eCuffo - Free Online Website Directory - NO Backlinks!
ecuffo is offline
Reply With Quote
View Public Profile Visit ecuffo's homepage!
 
Reply     « Reply to wht is diff between GET and POST ?
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.11204 seconds with 13 queries