I am trying to add a custom aspx disclaimer page to my moss 2007 portal. The page is to be displayed when the user first logs on to the portal before they are allowed access to the default page. They have to either accept or decline the disclaimer. Acceptance of the disclaimer should fire an event to update a boolean custom user attribute in the user profile and redirect to the portal default page, and declining the disclaimer should close the browser.
I want to include an http handler to intercept the request for any part of the url for the portal and check whether the user has accepted the disclaimer and then if they have it should automatically redirect to the default page and if not it should redirect to the disclaimer page where they have to accept to gain access.
Can you guide me on how to do this ?