This is a migrated thread and some comments may be shown as answers.

Getting device ID from cookies

1 Answer 462 Views
Windows
This is a migrated thread and some comments may be shown as answers.
Hong
Top achievements
Rank 1
Hong asked on 27 May 2015, 04:15 PM

Hello, wondering this post is appropriate here. if its not please feel free to delete it.

I was using fiddler to find out the HTTP packets sent by Google Chrome. Just wondering if anyone has done this and knows the information inside the cookies that chrome stores? Does anyone know if I could get the device ID that chrome has assigned to my PC?

Thanks a lot!

1 Answer, 1 is accepted

Sort by
0
Eric Lawrence
Telerik team
answered on 27 May 2015, 11:12 PM
Hello, Hong-- Fiddler shows all of the Set-Cookie response headers and Cookie request headers. As you noticed, each website uses cookies differently.

In general, Chrome itself does not send any sort of "deviceID" to the server, but Chrome does expose certain APIs that would allow a script on a page to get a device ID (e.g. for a Digital Rights Management purpose) and that script could conceivably send that ID to the server using a cookie or via another mechanism (e.g. the body of a form POST).

In order to get more specific, you'd need to explain exactly where (e.g. what URL) you think a deviceID is getting sent to a server using a cookie and we could look at that cookie and try to figure out how the deviceID is encoded in that cookie. But it could well be encoded, hashed, encrypted, etc...


Regards,
Eric Lawrence
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Windows
Asked by
Hong
Top achievements
Rank 1
Answers by
Eric Lawrence
Telerik team
Share this question
or