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.
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.
|