PDA

Click to See Complete Forum and Search --> : Cookies in 1.1 [resolved]


blindlizard
Sep 23rd, 2003, 04:16 AM
I haven't been able to find any recent articles on cookies with the new framework. My problem is that all the tutorials I have found say to do this:If Request.Cookies("mychoices") = Null Thenbut it won't compile saying that Null is no longer supported. Even asp.net says to do that. How do I check to see if the user has a cookie set in the .net 1.1 framework?

Fishcake
Sep 23rd, 2003, 05:46 AM
I've not used cookies yet in asp.net but would


if request.cookies("mychoices") is nothing then

work?

blindlizard
Sep 23rd, 2003, 02:51 PM
That worked....thanks