When a user registers and logs in for first time, I want to show them a welcome message or some tooltips.
An approach can be used where we create cookies, but what if the user clears his browser cookies?
I am using PHP.
When a user registers and logs in for first time, I want to show them a welcome message or some tooltips.
An approach can be used where we create cookies, but what if the user clears his browser cookies?
I am using PHP.
You can save in database field on user data value if user has logged in already. Or more general you can save last login date - if it's empty - user didn't log in yet. if not - show tooltips.