Relative Content

Tag Archive for reactjstypescriptnext.jsfingerprint

Device Fingerprint on server-side

I want to generate a unique identifier for users (guests) on my website. I understand fingerprint.js uses browser APIs to generate a unique fingerprint that can be used as a session ID for a guest user. However, the confusing part for me is how to mimic its behavior at the server side.
As a reference, I have a page which is a server component which makes API calls and we want to generate the unique IDs before these API calls as this ID is necessary for these server calls.
What are the best practices to achieve these unique fingerprint IDs in server side frameworks?

Device Fingerprint on server-side [NextJS]

I want to generate a unique identifier for users (guests) on my website. I understand fingerprint.js uses browser APIs to generate a unique fingerprint that can be used as a session ID for a guest user. However, the confusing part for me is how to mimic its behavior at the server side.
As a reference, I have a page which is a server component which makes API calls and we want to generate the unique IDs before these API calls as this ID is necessary for these server calls.
What are the best practices to achieve these unique fingerprint IDs in server side frameworks?