D
darrel
in ASP, this seems to work to see if a cookie exists:
If Request.Cookies("site")("district") Is Nothing Then
In asp.net, though, it gives me a 'System.NullReferenceException: Object
reference not set to an instance of an object.'
Why is that?
Looking at MSDN, my syntax seems OK:
http://msdn.microsoft.com/library/d...s/dv_vstechart/html/vbtchASPNETCookies101.asp
-Darrel
If Request.Cookies("site")("district") Is Nothing Then
In asp.net, though, it gives me a 'System.NullReferenceException: Object
reference not set to an instance of an object.'
Why is that?
Looking at MSDN, my syntax seems OK:
http://msdn.microsoft.com/library/d...s/dv_vstechart/html/vbtchASPNETCookies101.asp
-Darrel