What are cookies?

What are cookies?

What are cookies?

View Answers

June 6, 2012 at 5:35 PM

Cookies are piece of data which are stored at the client?s browser to track information regarding the user usage and habits. Servlets sends cookies to the browser client using the HTTP response headers. When client gets the cookie information it?s stored by the browser in the client?s hard disk. Similarly client returns the cookie information using the HTTP request headers. When cookie based session management is used, a token is generated which contains user's information, is sent to the browser by the server. The cookie is sent back to the server when the user sends a new request. By this cookie, the server is able to identify the user. In this way the session is maintained. Cookie is nothing but a name- value pair, which is stored on the client machine. By default the cookie is implemented in most of the browsers.

For more information, visit the following links:

http://www.roseindia.net/jsp/jspcookies.shtml

http://www.roseindia.net/servlets/use-cookie-servlet.shtml









Related Tutorials/Questions & Answers:
what is bit
what is hibernate.archive.autodetection
Advertisements
what is hibernate.archive.autodetection
what is hibernate.archive.autodetection
what is hibernate.archive.autodetection
what is hibernate.archive.autodetection
What is procedure
what is hibernate.archive.autodetection
What is Hibernate
What is Hibernate
What is JDBC?
What is FBT
What is ActionServlet?
What is Trigger?
What is VLR ?
What's PHP ?
What is an interface?
What is DML?
What is Index?
What is SQLLoader?
What is a "constraint"?
what is Savepoint ?
What is this keyword?
what is collections?
what are indices?
What is Hibernate
What is Hibernate
What is Externalizable?
What is the % operator?
What is casting?
What is IOC ?
What is SQLExceptionTranslator?
What is DataAccessException?
What are Struts?
What is WAP?
What is SPOOL?
What is CRM?
What is webservices?
What is Ajax?
What is NSRangeException
What is portal
what is posting?
What is a tuple?
What is workflow
what is RUP?
What was ENIAC
What is an Iterator?
What is WSP?
What is CDPD ?
What is RMS ?

Ads