Avoid duplicaiton things when page is loading

Hi guys I need to write the url every time a new session is created by a user.

At the moment I create a new thing (in text) with the url every time a persone load a certain page.
The problem is that some people load the page more than once and so I ve duplicated things (url) from the same person.

How should I avoid it?

You can use Local Storage for avoiding these type of things. You can store the user’s session on local, after a new session created you can change its value.

This topic was automatically closed after 70 days. New replies are no longer allowed.