Current location - Recipe Complete Network - Dietary recipes - What is the difference between session, aplliction and cookies in ASP? Where are each used? Please give an example! Thanks!
What is the difference between session, aplliction and cookies in ASP? Where are each used? Please give an example! Thanks!

The session object is used to carry specific customer information. When a customer jumps from one page to another, the session information still exists. Customers can access the session information on any page of this website.< /p>

The appliction object is an object that is used by all customers. Through this object, all customers can access the same appliction object. (Implementation of chat room)

Cookies are commonly known as cookies. , information can be saved on the client for a long time. There are two forms: session COOKIES and permanent COOKIES. ASP uses the COOKIES method of the RESPONSE object to set COOKIES, and uses the COOKIES acquisition method of the REQUEST object to obtain the value of COOKIES.

lolooo Hand typed original, if you want to quote, please indicate the reference`~~~~~