[thelist] ASP.NET Cookie Validation

Tab Alleman Tab.Alleman at MetroGuide.com
Mon Feb 10 16:09:01 CST 2003

David.Cantrell at Gunter.AF.mil wrote:
>> This may sound fairly simple but I want to check for the existance
>> of a cookie <snip/> But both times I get
>> "System.NullReferenceException: Object reference not set to an
>> instance of an object."
> I haven't tested the code above though, if it fails maybe we need to
> do something else.
Well, if all else fails you can always trap the error and assume it
means the cookie doesn't exist, right?

More information about the thelist mailing list