Read, Write, and Delete Cookies in ASP.NET

Please install Silverlight or click download to watch video locally.

In this video Chris Pels will show how to read, write, and delete cookies in an ASP.NET application. First, learn the basic operations for manipulating cookies. Then learn approaches to storing multiple values in a single cookie using name-value pairs called subkeys. Next, learn how to limit the scope of cookies to a particular application domain or folder. See how to modify values and expiration dates in existing cookies and how to delete an existing cookie. In addition, several considerations for using cookies are also discussed.

Presented by Chris Pels

Duration: 25 minutes, 18 seconds

Date: 10 January 2008

Watch    Video   |   Download    Video   |   VB Code    C# Code

Video downloads: WMV  |  Zune  |  iPod  |  PSP  |  MPEG-4  |  3GP

Audio downloads: AAC  |  WMA  |  MPEG-4  |  MPEG-3  |  MPEG-2

Comments : 18

Leave a Comment

fivestarMike : On May 19, 2008 9:16 AM said:

This video cuts short at the end by about 4 minutes.

Dantevios : On June 11, 2008 4:02 PM said:

I have had the same experiance as fivestarMike. This video is cut about 4 minutes at the end for me as well as when I downloaded it.

zhyply : On June 19, 2008 9:14 PM said:

where is #28?

cv_vikram : On August 09, 2008 8:28 AM said:

thanks....

xpboyzcx : On August 23, 2008 11:06 PM said:

very helpful.....

socratiss : On October 01, 2008 6:27 AM said:

This video cuts short at the end .plz modify this video.

socratiss : On October 01, 2008 6:28 AM said:

last five minutes was not played properly.some problem occures.

Mr.Mando : On October 05, 2008 1:36 PM said:

yes there is a problem with the video, But you can learn what Chris Pels will explian by downloading the source code and work with it step by step

If you dont understand any line of code you can google, MSDN or ask in the forums for it.

Thanks

socratiss : On October 07, 2008 4:04 AM said:

yes i download the vb code of cookies .i run the code .wher can i see the cookies after run.plz tell me.where can the cookies stored after execution.

Mr.Mando : On October 09, 2008 2:17 AM said:

ok socratiss you can see the cookies in at the same folder of cookies which been downloaded from all sites.

It will be located at a path like this

C:\Documents and Settings\Mr.Mando\Cookies

Notice: "Mr.Mando" is a user account of which you logged in on your machine

---------------------

To see your cookie clearly I suggest you to delete all cookies before excution.

ready2doit : On October 23, 2008 3:05 AM said:

this video is incomplete.

you have showned just how to create cookies but you didnnot show how it works.

djibril_chimere_DIAW : On October 29, 2008 8:36 AM said:

Thanks ! Jërëjëf !

djafer : On November 11, 2008 12:36 PM said:

thanx

elgamal_rty : On January 07, 2009 8:28 AM said:

thanks

bohunt : On February 13, 2009 3:31 PM said:

Thanks.

ai101 : On March 26, 2009 11:23 AM said:

very helpful

cleverwisdomforever : On April 09, 2009 1:10 AM said:

Hi Chris Pells, this video is very helpul but its incomplete, you showed how to create cookies but there is nothing how it works, could you please upload the complete video. Your help will be much appreciated as usually!!

Many thanks!!!

haithemara : On May 08, 2009 6:59 AM said:

good video. But, how about encrypting the cookie values.

Thank you.

Leave a Comment

You must be logged in to leave a comment. Click here to log in.

Microsoft Communities