Wat is the difference between session and cookie ?

Showing Answers 1 - 4 of 4 Answers

ajay

  • Jan 24th, 2006
 

1. Sessions are stored in the server side whereas cookies are stored in the client side

2. There is a limit to the number of cookies that cn be stored with respect to session

  Was this answer useful?  Yes

padma

  • Mar 17th, 2006
 

both are using for to maintain the state of client.but in case of cokkies there is lot of transmission between cilent(browser) and server.so automatically perforence is reduced compare to sessions.there is limite on no of cookies.moreover some of the browsers may or not accept the cookies.in case of sessions we mange the state of client in 3 ways 1.sessions using url2.sessions with url 3.urlrewriting

  Was this answer useful?  Yes

Shirshendu

  • Mar 18th, 2006
 

Session are used as server side means for session tracking whereas cookies are used as client side means of sesion tracking. There can be only 20 cookies per server. Size of each cookie is 4k.

  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