thanks brother
Quote:
Originally Posted by kh99
I suppose you could set a cookie to expire in 24 hours, then if someone doesn't have that cookie with a request, display the text and create the cookie.
|
Is there a
reference or a
simple code to shows me the way
Quote:
Originally Posted by kh99
Or you might be able to check whenever a session is created, and see if their last activity is more than one day ago, but I don't know the details of how to do that offhand. Well, I guess that's not quite right, since that way if they visited often they may never see the text. I guess you'd have to check for lastactivity being in the previous day or earlier.
|
I thought the same idea , use of table
session (
lastactivity) but You are right .. if the member logine in per day will not see the code never