[thelist] ASP.NET Cookie Validation

JSchell at doeanderson.com JSchell at doeanderson.com
Mon Feb 10 12:24:01 CST 2003

This may sound fairly simple but I want to check for the existance of a

My code is

If Request.Cookies("crmid").HasKeys Then

End If

I've also tried If Request.Cookies("crmid").Value is Nothing Then

End If

But both times I get "System.NullReferenceException: Object reference not
set to an instance of an object."

Any ideas

Jeremy Schell
Senior Internet Developer/Technical Lead, Interactive
Doe Anderson, Inc.
(502) 815-3339

More information about the thelist mailing list