what is cookies in asp.net c# and Types
A cookie is a piece of data that a server sends in the HTTP response. The client (optionally) stores the cookie and returns it on subsequent requests. This allows the client and server to share state. To set a cookie, the server includes a Set-Cookie header in the response.
What are cookies in C-Sharp
Cookies are small units of information that follow all request processes and web pages as they travel between Web browsers and servers. The above definition implies that every web page opened on a website has an exchange of cookies between the server and the web pages.
Types Of Cookies In C#
1. Persist Cookie -:
A cookie that doesn't have expired time is called a Persist Cookie
2. Non-Persist Cookie -:
A cookie which has expired time is called a Non-Persist Cookie
No comments:
Post a Comment