Either you store it in a cookie which the browser passes to the server for you, or you store it in a url parameter and you (or your html / temp laying Generation framework, or some JavaScript manipulation) needs to ensure all links or other server calls like POST, will need to include that session ID passed back to the server.
And this talk about IP addresses is complete nonsense because of Proxies and NAT and a ton of other reasons. You can attempt to use it in combination with a session ID, but you certainly cannot use that alone.
How do you render it? Can javascriot access the cookie? Then you write it to the DOM? You still have to obtain the cookie initially, then have all clicks act like an SPA and not make server calls.
Interesting idea.
If they are starting a new session but they already have the cookie, how do you prevent the initial server contact when they open the browser/tab ?
Vegan food: The west vs India (lemmy.ml)
Did I press this button the first time? (kerala.party)
Self doubt stems from here.
Reddit be like (programming.dev)
Restaurant workers created a website to avoid abusive workplaces (kitchenconfidentials.com)
America is Socialist for War (lemmy.world)
O.o (lemmy.world)
Embrace the typoo (lemmy.world)
All Rome leads to roads (lemmy.world)
literally no clue (media.infosec.exchange)
Solid book review (lemmy.world)
Gotta love international shipping (lemmy.world)
I can't focus when someone does this (lemmy.mywire.xyz)