| | |
Server Side File Inclusion
Please support our ASP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
I have 3 files containing classes, let's say - A, B and C. B and C both contain the file A as they are subclasses of A, using the "#include file " directive. I am facing a problem if a page contains both B and C, it is saying 'Class A: name redefined'.
This is obviously happening because both B & C have copies of A, and they are clashing. Is there a way to specify to include only one copy of a file for an ASP page ? Something like the 'require_once' directive of PHP ?
This is obviously happening because both B & C have copies of A, and they are clashing. Is there a way to specify to include only one copy of a file for an ASP page ? Something like the 'require_once' directive of PHP ?
![]() |
Similar Threads
- How to set up include file for navbar (HTML and CSS)
Other Threads in the ASP Forum
- Previous Thread: Change language of content according to country
- Next Thread: Accessing IIS site
| Thread Tools | Search this Thread |
archive asp asp.net aspandmssqlserver2005 aspandmssqlserver2005connection aspconnection connection database databaseconnection dreamweaver excel fso iis msmsql mssql2005 mssqlserver2005 mssqlserver2005andasp mssqlserverandasp opentextfile record searchbox selectoption single specfic sqlserver sqlserverconnection windows7





