Results 1 to 6 of 6

Thread: ASP Classes

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2001
    Posts
    4

    Smile

    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.

  2. #2
    Addicted Member Active's Avatar
    Join Date
    Jan 2001
    Location
    Lat: 13° 4' 46" N, Long: 80° 15' 20" E
    Posts
    209
    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
    If you can't beat your computer at chess, try kickboxing !!!
    [Download Tag Editing Tools.]

  3. #3

    Thread Starter
    New Member
    Join Date
    Mar 2001
    Posts
    4

    Smile

    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

  4. #4
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    Interesting, I wasn't aware of ASP classes...

    I would think that compiled COM dlls would perform better.

    Josh
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

  5. #5

    Thread Starter
    New Member
    Join Date
    Mar 2001
    Posts
    4

    Smile

    Yes, COM based dll's would work much better but a lot of service providers will not let you register them on their servers.
    Quidquid latine dictum sit, altum viditur.
    Whatever is said in Latin sounds profound.

  6. #6

    Thread Starter
    New Member
    Join Date
    Mar 2001
    Posts
    4

    Smile

    Yes, compiled COM dll's would work much better but a lot of service providers will not let you register them on their servers.
    Quidquid latine dictum sit, altum viditur.
    Whatever is said in Latin sounds profound.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width