Book a Demo

Author Topic: Inheritance and stereotypes and common functions  (Read 3492 times)

cloudsoup

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Inheritance and stereotypes and common functions
« on: June 07, 2002, 03:22:33 am »
A question about the best way to represent server-side web pages.

In the administration area of a website most of my ASP pages will have a check to see that the client is logged in under a valid admin account - redirecting to a login area if they're not.

How best to represent this?

Firstly, if this were implemented via inheritance in a .NET application, would it be appropriate for me to create a stereotype (although then the functionality wouldn't be specified anywhere).

Secondly, if this were implemented in a call to a common library function, I don't really want to tediously specify that in every single server page. Another sterotype, this time with a tagged value, maybe?

I don't know - I'd be grateful for suggestions.