Click here to Skip to main content
15,889,116 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
What are cookies, context, session states in ASP.net?
Posted

Abdul Quader Mamun has given you the answer

But I suggest you to read further these links too. You may find it helpful
Cookies [^]
Session
 
Share this answer
 
v2
Thanks for your question,

A cookie is a small bit of text that accompanies requests and pages as they go between the Web server and browser. The cookie contains information the Web application can read whenever the user visits the site.

Ref:
http://msdn.microsoft.com/en-us/library/ms178194.aspx[^]


When a Web application runs, ASP.NET maintains information about the current application, each user session, the current HTTP request, the requested page, and so on. ASP.NET contains a series of classes to encapsulate this context information.

Ref:http://msdn.microsoft.com/en-us/library/swe97x0b.aspx[^]

A session is defined as the period of time that a unique user interacts with a Web application. Active Server Pages (ASP) developers who wish to retain data for unique user sessions can use an intrinsic feature known as session state.


Ref:
http://msdn.microsoft.com/en-us/library/ms972429.aspx[^]


Thanks,
Mamun
 
Share this answer
 
v4

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900