A simple authorization module.
It has login.htm and register.htm pages.
And auth.htm (outside) and inside.htm pages - for illustration only.
authvars.js and authvars.php have to be changed on use.
ifsession.js with ifsession.php are checking all inside pages for user cookie.
register.php, login.php, logout.php are serving their roles respectively.
functions.js, cookies.js and seq.php contain functions needed for module to work.