Click here to Skip to main content
16,005,121 members
Please Sign up or sign in to vote.
4.11/5 (2 votes)
See more:
How does the HTML page field values are sent in backend? Are they sent via headers?Pls post me some example.
Posted
Updated 5-Mar-14 17:28pm
v3
Comments
[no name] 5-Mar-14 23:24pm    
What do you mean by background..??
Member 9826052 5-Mar-14 23:29pm    
How the values are actually sent during http request?
Sergey Alexandrovich Kryukov 5-Mar-14 23:29pm    
In background of what? What would it mean, "sent via headers"? Passed where? Examples of what?
The question looks like word salad.
—SA
[no name] 5-Mar-14 23:45pm    
:D
Member 9826052 5-Mar-14 23:58pm    
Thanks for your solution. I just what to know If i fill a value in HTML Page fields and press a submit button ,how the values are sent from the page to the web server? i inspected the page using firebug and i found my values under post tab like

Parametersapplication/x-www-form-urlencoded
queryString us
Source
queryString=us


which part of the request carries my page field values?

Sorry if am not clear again.


1 solution

I'm trying to give you some idea in response to all three of your questions I could review. The don't look correct or reasonable. It just look like you don't understand what you are talking about. You need to try to understand it all from the very beginning. Please see:
http://en.wikipedia.org/wiki/Http[^],
http://en.wikipedia.org/wiki/World_Wide_Web[^].

[EDIT]

When you are talking about "Submit" button, you probably mean sending HTTP request from a Web form. This is done by browser in key-value pairs; for keys, the values of the name attributes of your controls are used, and values depend on the value or selection entered by the user, as calculated by the value property (as if you calculated the value using Javascript, same thing). In HTTP text, these pairs are encoded according to the Internet media type, which is, by default for the form POST method, is "application/x-www-form-urlencoded".

Please see:
http://en.wikipedia.org/wiki/POST_%28HTTP%29#Use_for_submitting_web_forms[^] (see the example),
http://en.wikipedia.org/wiki/Application/x-www-form-urlencoded[^],
http://en.wikipedia.org/wiki/Internet_media_type[^].


—SA
 
Share this answer
 
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900