>The approach you're looking at in the other thread might work (Context.Handler.GetType().??? in Application_PreRequestHandlerExecute may be what you need).
Yes, I have been trying to find the proper syntax for that. Basically, even if a type is returned in the error message, I was not able to make a reference to it in the code as it does not appear in the list of type.
>But I wonder whether you would be better off subclassing the page class for use with the framework and passing the page to the framework somewhere during the page creation. That way only valid pages (in fact only pages deliberately subclassed) would be passed to the framework. (Sorry, I'm a bit rusty on this and have my head in a VFP bucket at the moment so I may be missing something (or a lot<s>)
I would prefer to do it in global.asax as it would allow me to have it all in the same place.