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  >  Microsoft  >  ASP.NET 2.0

 Print  |  
Question:  Cookies and Session Variables

Answer: How does cookies differ from session variables?


August 08, 2009 05:02:47 #3
 mrp100461   Member Since: January 2008    Total Comments: 11 

RE: Cookies and Session Variables
 
Cookies are files on the users computer. The cookie can expire or be made permanent but the user can delete the cookie.
A session holds data with that session. The length of time a session is open can be changed. But after the session is finished the data is destroyed.
     

 

Back To Question