dimanche 4 février 2018

Do not show popup everytime when page refreshed (show until something is changed, or 1 time per day)

Can1 suggest, how to prevent showing popup if logged user already saw it and closed? Maybe 1 time per day...

Precondition: After registration all users automatically has 'userType' == 1 in SQL

Example:

  1. User1 registered to website
  2. User1 automatically redirected to page -> mysite.com/profile/settings
  3. User1 get a popup message with text that his SQL userType == 1

Problem:

When User1 read and closed popup message, after page refreshed popup message is back.

Question:

How to prevent showing this popup everytime?

Thnax in advance!



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire