What is session tracking ?state the uses of GET and POST request to handle Http request ?

Showing Answers 1 - 2 of 2 Answers

sarada

  • Dec 25th, 2005
 

to maintain the state of http we use session tracking as http protocol  is stateless. to avoid this  problem is we use hidden fields,cookies,session

get is used 2 get information + 2 some browsers it's limited + client can see the information as it's going 2 append as part of url

get is going 2 hide the information as part os request ans it's not appendind 2 url so there is no limit

  Was this answer useful?  Yes

Naim Kazi

  • Feb 7th, 2006
 

Session tracking is done to maintain the state, as HTTP is an stateless protocol.

Session tracking can be done in following ways -

1. Cookies.

2. Hidden variables.

3. URL rewriting.

When you use GET, then the data appears in the querystring of the web browser and the data goes in the environmental variable i.e you can only send 255 bytes of data. For ex www.somename.com?name=naim&job=IT

When you use POST, the data goes in the request object and it does not appear in the querystring and you can send any no of data.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions