If a cookie exists { if {#check for validity } else { #exit} } else { # since no cookie or no valid cookie was found, print HTML form asking for input # # now that we have information, make a cookie, set it and refresh the page }