I'm altering an existing website to check to see if cookies are enabled. I need to do this in 2 places and, thankfully, the code to do this already exists within the site.The test to see if cookies are enabled is pretty much standard. It tries to create a cookie and then read back a value within it. If the value isn't what is expected then it assumes that cookies are disabled - it's what every vb.net example I've looked at suggests doing, which is good since I didn't write the cookie test code!I can add a call to the cookie test method in to the code behind on a aspx page and it works as I want it to, it sets visiblity true/false for a couple of panels, one showing default information and the other showing a cookies disabled notice and further info.When I put this code into a custom control, in a "login" button click within a login control which uses a secure connection, the cookie test always returns saying that cookies are enabled even when they are not in the browser settings...I have cleared cookies down, set the HTTPOnly and Secure properties yet cannot get this code to work in the custom control.Is checking for cookies enabled within a browser somehow different over a secure connection?Thanks,Will