1.

Define A Cookie And What Are The Difference Between Session And Cookie?

Answer»

A cookie is a small PIECE of information, this piece of information sends to the browser by a web server. The browser stores the cookies for every Web server in a local file. In a future request or future REFERENCE, the browser sends all stored cookies for that DETAILED Web server.
The difference between cookies and sessions are:
• The session is working, regardless of the SETTINGS on the client browser. The client may have SELECTED to disable cookies.
• The session and cookies also differ in storing the amount of information. The HTTP session is able to store any Java object, while a cookie can only store String objects.

A cookie is a small piece of information, this piece of information sends to the browser by a web server. The browser stores the cookies for every Web server in a local file. In a future request or future reference, the browser sends all stored cookies for that detailed Web server.
The difference between cookies and sessions are:
• The session is working, regardless of the settings on the client browser. The client may have selected to disable cookies.
• The session and cookies also differ in storing the amount of information. The HTTP session is able to store any Java object, while a cookie can only store String objects.



Discussion

No Comment Found