What is the purpose of hidden fields, cookies and session objects?

Showing Answers 1 - 15 of 15 Answers

Prashant Goyal

  • Sep 25th, 2007
 

The purpose of hidden fields, cookies and session objects is to transfer data between different pages of an application.

  Was this answer useful?  Yes

hemasundar

  • Jan 12th, 2008
 

I agree with Mr. Goyal.
I hope you know that HTTP is a stateless protocol and so are our web applications.They can't remember the data of client across multiple requests of an user(which is called as session).
All the above three are the techniques that are used to enable session tracking in servlet based web app.

  Was this answer useful?  Yes

To send data from one web page to another without being shown to the user hidden fields are used.

Http Protocol is a stateless protocol hence it does not remember previous request and the variables and it treats each request as the new request. In order for it to remember the previous request data cookies and sessions are used.

  Was this answer useful?  Yes

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