| Author |
what happens after you pass your parameters along with your submits
|
kay lin
Ranch Hand
Joined: May 20, 2004
Posts: 132
|
|
HI all: just a quick question..what happens when a user submits a parameter along with a submit... i see like the parameters have been mixed with unrecognizable strings lin the status bar of the IE browser... someone cares to explain?? Thanks..many thanks..
|
 |
Stefan Bell
Ranch Hand
Joined: Aug 26, 2003
Posts: 82
|
|
|
is it a Post or Get method?
|
 |
Mike Firkser
Ranch Hand
Joined: Oct 21, 2003
Posts: 246
|
|
|
This may not be 100% complete, but the coding you see is the encoding of the submitted data -- a ? to show the parameters are starting, the name of the parameter and then = value of the parameter, a & is used to show start of a new parameter. Often escape characters are inserted for certain other characters (for instance a %20 is put in for a space).
|
Mike Firkser
Rutgers '84
|
 |
Stefan Bell
Ranch Hand
Joined: Aug 26, 2003
Posts: 82
|
|
|
the reason i asked about a get or post was the get will automatically put the parameters in the url but if it is a post you have to create a query string to add to the url. I don't know if they url will look any different between the two so i was going to go look at some of my pages using both and see if any strange characters were added to one or the other. But %20 and such are not unusual, if that is what they were referring to.
|
 |
somkiat puisungnoen
Ranch Hand
Joined: Jul 04, 2003
Posts: 1312
|
|
Originally posted by dog lin: HI all: just a quick question..what happens when a user submits a parameter along with a submit... i see like the parameters have been mixed with unrecognizable strings lin the status bar of the IE browser... someone cares to explain?? Thanks..many thanks..
Because web browser MUST have consistency of data for sent to server. Data encoded by browser before send data to server.
|
SCJA,SCJP,SCWCD,SCBCD,SCEA I
Java Developer, Thailand
|
 |
 |
|
|
subject: what happens after you pass your parameters along with your submits
|
|
|