I would like to trap for certian IP address and Block all others. I am
looking for these address in the "CreateSession" and I then write a flag in
the Session file that this IP address is not authorized. Then in the
"ValidateSession" I check the flag an and set and error code. The error
code displays at the bottom of the webpage. I would like to trap the error
and then Link to a Webpage that explains that the user is not authorized to
access this web site.

Is this a good way to trap for the IP address and how do I trap the error
code to display the Autorization page.