PDA

Click to See Complete Forum and Search --> : ASP Classes


Wander Woman
Mar 11th, 2001, 05:17 PM
I am using Classes (<% Class CCategory ....asp code..... End Class %>) in my ASP pages. They work great and they allow me to take a more of an OO approach to my ASP code. I'm just wondering if there are any performance or technical issues anyone knows of when using them. Any info would be greatly appreciated.

Active
Mar 12th, 2001, 06:03 AM
Yes There is one...
You cannot assign a class as an Application variable or
a Session Variable

Take a look at this KB article :
Q246596 (http://support.microsoft.com/support/kb/articles/Q246/5/96.asp)

Wander Woman
Mar 12th, 2001, 10:37 AM
Thanks G. The article is great. I'm actually using the classes as include files. They are basically retrieving info and opening and closing the database. The session variables I'm using are on my asp pages so hopefully I can continue without much issue.

Take care

JoshT
Mar 12th, 2001, 11:05 AM
Interesting, I wasn't aware of ASP classes...

I would think that compiled COM dlls would perform better.

Josh

Wander Woman
Mar 13th, 2001, 08:26 AM
Yes, COM based dll's would work much better but a lot of service providers will not let you register them on their servers.

Wander Woman
Mar 13th, 2001, 08:32 AM
Yes, compiled COM dll's would work much better but a lot of service providers will not let you register them on their servers.