3 ms·
Just do it server side, with a unique session token.
by namdnay 5y ago
Just do it server side, with a unique session token.
- ErikCorry 5y agoHow do you assign individual web requests to a session without cookies?
- namdnay 5y agogenerate a random ID in js when your page starts, set it in the context and send it as a header on every request
- notreallyserio 5y agoAdd a session id to the URL and all generated links, I'd guess. Still probably not any more legit than a cookie, though.
- jefftk 5y agoI wouldn't be surprised if that fell under "similar devices", just like localStorage.
- lixtra 5y agoWhile might not be caught easily, you‘r still not compliant with GDPR by doing it all on the server without consent.
- namdnay 5y agoGDPR only applies to PII. If you're just collecting anonymous session tokens you're fine (it's what comes "out of the box" if you host your webapp on AWS for example, you'll see an AWS correlator ID in the request headers)