All articles with keyword "Cookies"
Cookie Limits
In past tips, we talked about the need to economize on cookie usage. Some projects I've seen overuse cookies, using lots of values all going back and forth t...
Click for more...
Cookies Before Other Code
Because of the way cookies are created, they must be written before any HTML output is created. Either put your cookie-creation code at the beginning of your ou...
Click for more...
Creating a Cookie
Contrary to popular paranoia, cookies are harmless and provide an excellent way to maintain state information for your application. Creating a cookie is done us...
Click for more...
Deleting a Cookie
Got a cookie that you no longer need? The easiest way to remove it is with the following code that manipulates the Response.Cookies collection:
Respons...
Click for more...
Error When Creating Cookies
If you're creating cookies to be sent back to the user's browser, you use the Response.Cookies collection. However, you need to do this before you send any HTML...
Click for more...
Removing All Site's Cookies
In cases where you're using permanent cookies, you should always include a feature to sign out of your web site. At that point, you should remove any cookies th...
Click for more...
Where to Put Cookie Code
A popular tip topic is cookies in ASP. A user asked me recently where code to manipulate cookies should go. For instance, this code here:
Response.Cooki...
Click for more...
|