Check if browser accepts cookies in asp .net

Simple test to check if browser accepts cookies or not in asp .net. You will learn how to check whether cookies are enabled in browser or not.If your website functionality relies on cookies it is better to check whether cookies are enabled or disabled in web browser and prompt users if cookies are disabled from web browser.

Read and Display all cookies in asp .net

In this asp .net tutorial we will learn how to read and display all cookies created by website. We have learned how to write and read single value cookies and how to write and read cookies with more than one value in asp .net. Now at some point it might be required to check values of all the cookies created by website for testing or any other purpose. 

Encrypt Decrypt Cookies in asp .net

In this asp .net tutorial we will learn how to Encrypt and Decrypt cookie values. Cookies are small text files to hold values within browser. As cookies are stored in a plain text file it is very easy to read and modify content of the cookies. However you can encrypt and decrypt cookies to provide some security.  For this tutorial we will use MachineKey.Protect” and “MachineKey.Unrotect” methods for encryption and decryption. These are the inbuilt methods used to Encrypt and Decrypt data in asp .net.

Cookies with multiple values in asp .net

Cookies with multiple values tutorial in asp .net. In this asp .net tutorial we will learn how to write,read and delete cookies with multiple values. Multiple values are stored in the form of name-value pairs in a single cookie. 

Cookies in asp .net

In this asp .net tutorial we will learn how to use cookies in asp .net. We will learn how to write cookies, read cookies value and delete cookies in asp .net. You can download attached sample code. 

 
About Us | Terms of Use | Privacy Policy | Disclaimer | Contact Us Copyright © 2012-2024 CodingFusion
50+ C# Programs for beginners to practice