I just noticed I was looking at the request.cookies and not request.browser.cookies.
Duly noted. I never paid attention to this method of state management since it wasn't written in any of the standards we go by.
I had to ensure our product was up to spec so it supports cookies natively now and complies with the RFC specs.
http://www.cis.ohio-state.edu/cgi-bin/rfc/rfc2109.htmlI assume that they must have a lookup database based on the browser identifier for is cookies is supported. It would be an interesting test to see if turning of cookies in the browser made the cookies return false.
>>I just looked up that object and it is a collection. I didn't see any functions to determine if the browser supports them or not.
>>
>>Whats the function called?
>
>I just wrote an example program where I check the value of Request.Browser.Cookies in my Page_Load method. It returns true if the browser supports cookies. I assume that if the browser itself supports cookies, but the user has disabled them, it will return false and session state will be managed by ASP.NET by adding the SessionID to the URL.
Brian Seekford
Seekford Solutions, Inc.http://www.SeekfordSolutions.comInternet ActiveX Controls and .NET Class Libraries.
SMTP/S FTP POP3/S HTTP/S SNTP MIME PING WHOIS TRACEROUTE NNTP DNS MX
Base64, UUEncode, yEnc, MD5, SHA1, URL, Quoted-Printable.
Resizer and Tooltips
Email Verification and more. Check us out!