I have a page like a welcome page which should be visited only once by each subscriber. After registration, they will redirected on my welcome page. Then I want that page not be available on same user for the second time, if the will try, I want them to be redirected. Is this possible?, should I use plugin? Thanks. :)
As mentioned in a comment above the cookie solution will not totally do the trick. If it's ok that they can revisited the welcome page from a different browser or if they delete cookies. This is fine.
If not I would use the database. I think easiest would be to regard the time the user was registered.
Like if the user registered within the last 60 minutes offer the welcome page. If not forward somewhere else.
This solution does not require you to alter the database and does not have the drawbacks of the cookie. If you want to offer a limited time offer for newly registered this might be a good way. You can even combine this with the cookie. That way you make sure the visitor can only see it once on his first device. And if he logs in on his second device more than 60 minutes later he will not see it either.
Following code should work. Please replace page ID and redirected url with your own.