Fingerprint Question

26 views
Skip to first unread message

Paul Tiseo

unread,
Feb 24, 2015, 11:45:55 AM2/24/15
to action...@googlegroups.com
So, on the /servers/websocket.html page, it states "actionhero provides connection.fingerprint where available". When is it NOT available?

Evan Tahler

unread,
Feb 24, 2015, 8:50:51 PM2/24/15
to action...@googlegroups.com
Basically it's available in browsers (and things that act like browsers), and not in places that don't.  The fingerprint is a way to link the WS connection to other HTTP connections the same user may have made in a browser by sharing the data in a fingerprint cookie.  However, there are lots of other ways to consume the websocket protocol outside of a browser, like this Primus wrapper for ObjectiveC.  These clients will not have a fingerprint. 

I have to be careful to not call out "native apps" because you can use a tool like phonegap which will help you to author an iphone application, but it really just wraps a webview, and webviews have cookies, and will end up with a fingerprint. 

Code here: https://github.com/evantahler/actionhero/blob/master/servers/websocket.js#L191-L200
Reply all
Reply to author
Forward
0 new messages