-3

I am trying to make a webpage that only new users can see if a returning viewer returns he will be redirected to another webpage I found this on stackoverflow but I am unable to figure it out.

I have made a HTML and CSS page which showcases the features of my web app. I want this page to load only for new visitors. If a returning visitor visits my domain, it should redirect him/her to the web platform. Essentially, the new user should see "Landing Page" while a returning user should be redirected to "Web Platform"

The answer was

How do I make a web page show up only once?

I am unable to use it because I don't know what to do and how to create localstorage

James Z
  • 12,209
  • 10
  • 24
  • 44
  • 1
    What have you tried? We can help better if you [edit] your question and provide a [mre]. – Mark Stewart Jul 27 '21 at 14:30
  • you only have 1 reliable solution, make them sign in. All other solutions like local storage, cookies, serverside sessions or by IP address are unreliable as they are ephemeral – Lawrence Cherone Jul 27 '21 at 15:35

1 Answers1

0

You should use PHP code to make a webpage only available once with SESSION and log.

Skeleton MC
  • 5
  • 1
  • 2