First... I really like the script.
Second... I have the script included in the top of my page. After the user signs in I read the cookie to determine a variable for a report. When the report runs the first time it is empty. If I refresh the page it works very nicely using the md5 password saved in the cookie.
Any ideas why I have to refresh the page to get it to work correctly?
I am new to php.