GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Interview Questions  >  J2EE  >  JSP
Go To First  |  Previous Question  |  Next Question 
 JSP  |  Question 228 of 306    Print  
wat is the difference between session and cookie ?

  
Total Answers and Comments: 4 Last Update: March 18, 2006     Asked by: Sukumar Reddy 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
January 24, 2006 09:10:53   #1  
ajay        

RE: wat is the difference between session and cookie ?...

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


 
Is this answer useful? Yes | No
February 16, 2006 23:34:03   #2  
harish_oty Member Since: February 2006   Contribution: 2    

RE: wat is the difference between session and cookie ?...

Cookies depends upon the client browser and might be deleted or blocked.


 
Is this answer useful? Yes | No
March 17, 2006 07:52:36   #3  
padma        

RE: wat is the difference between session and cookie ?...
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
 
Is this answer useful? Yes | No
March 18, 2006 09:26:42   #4  
Shirshendu        

RE: wat is the difference between session and cookie ?...

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.


 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 




About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape