Pages

Thursday, December 29, 2011

Method attribute of Form tag

0 comments


Method attribute of Form tag in HTML which is used to submit data to other Form


This will specify arrangement standard for data, this provides Get option and Post option.
        Browser ----------------->>--------------- Web server
                         HTTP Request


   Data can be arranged:-


   HTTP header [using GET] - [http://....../login.htm] ----> like card


   HTTP message body [using POST] - [Internal representation] -->like cover or envelope


§         If it is "Get" data will be arranged under http header by appending to url called QueryString, it doesn’t provide security for password type data and supports less amount of data arrangement [max of 2kb].
§         If it is "Post”, data will be arranged under http message body, it provides security for password type data and supports large amount of data arrangement.

Leave a Reply