I think this Code hack ( Logon System is very nice ) but I have a very small comment.
we can avoid this logon but pointing our browsers to the Ultimate.cgi specially if I know the path.
for example if the Ultimate.cgi is placed in cgi-bin
http://www.My-Domain.com/cgi-bin/Ultimate.cgi Simply I can point my brwoser to it and it done I can bypass the Logong system ,
Even if I am a registered user and I know the path I would easily bypass the Logon.
Is that write or I am wrong.