Hi
I am using asp.net mvc 1.0. I know asp.net mvc has a couple attribute classes such as "AuthorizeAttribute", ActionFilter? and I think there is like 2 more.
So I have made my own AuthorizeAttribute but I am not sure if this is the right one to use again or if I even need to inherit any of these built in classes.
What I am trying to do this is. Every time a user hits an action method I want to check if there subscription length has expired. If it has return them to the page to buy a new subscription otherwise let them go on their way.
I don't want to add this to my Custom AuthorizeAttribute because I have one plan that is free and thus does not need this. So I was thinking of having another sort of tag like this and put it under the AuthorizeAttribute this way if they are not authorized they get caught by that one. If they are but there subscription they get caught by the new one.
So how should I go out building this?
Thanks