Code:
<? if (!isset($_COOKIE['splash'])) {
setcookie('splash','1',time()+90*86400); ?>
<div id="splash">Warning</div>
<? } ?>
That'll do the trick.
Essentially, you check for a cookie. If there's no cookie, then you set one, and then display the div / whatever you want.