Académique Documents
Professionnel Documents
Culture Documents
Using ASP.net
By
Adnan Amin
Lecturer / Software programmer
Information and Communication Technology (ICT-Dept)
www.geoamins.com
Why cookies.
• Cookies seem to solve the problem of moving data
from page to page.
• The stored data can use again and again until the
cookies is available on the user’s computer.
Now you will be able to see the two real locations of Vistaʹs Cookies folders.
C:\Users\username\AppData\Roaming\Microsoft\Windows\Cookies
• WRITING COOKIES
• Response is actually an HTTPResponse object.
• Response.Cookies(“myCookie").Expires =
DateTime.Now.AddDays(-1)
Response.Cookies("UserData").Values.Remove("LastVisit")