LogOptions UserIDCookieName Property (.NET)

 

Type: String

 

This property is used in conjunction with the LogData and GetLogData methods to associate a user ID with the data collected.

 

Set this property to the name of a cookie that already resides on the user’s machine. BrowserHawk will then retrieve the value stored in the cookie name specified, and insert that value into the userID column in the database, along with the recorded browser and system data for the user.

 

For example, assume that for each visitor to your site you already have a cookie set in the browser called "userID" which contains a unique session identifier in that user. To have BrowserHawk automatically associate the logged data with this user, simply pass "userID" as the name of the cookie that BrowserHawk should retrieve the user ID information from.

 

See Also:

LogOptions UserID Property (.NET)

About BrowserHawk Reports

LogData Method (.NET)