Steps in storing User information on Cookies
Check whether client supports cookies, using the Browser object Cookies property
Check cookie already exists, using Request object Cookies collection
Create a new if not found, using the HttpCookie class
Set the cookie object’s value and expiration properties
Add the cookie object to the Response object’s Cookies collection
No comments:
Post a Comment