Q
|
How can I detect disabled cookies?
|
A
|
In the ActiveX version of BrowserHawk, the CookiesEnabled property will tell you if the user has cookies enabled or disabled. Before checking this property be sure to call the SetExtProperties and GetExtPropertiesEx methods. See the documentation for details.
In the .NET and Java (BrowserHawk4J) versions, the SessionCookies and PersistentCookies expose this information.
See the samples that ship with your copy of BrowserHawk for working examples of how to detect disabled cookies with BrowserHawk.
Need a copy of BrowserHawk? Download it here!
BrowserHawk home page
|