Wrox Programmer Forums
|
ASP Pro Code Clinic As of Oct 5, 2005, this forum is now locked. No posts have been deleted. Please use "Classic ASP Professional" at: http://p2p.wrox.com/forum.asp?FORUM_ID=56 for discussions similar to the old ASP Pro Code Clinic or one of the other many remaining ASP and ASP.NET forums here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP Pro Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 13th, 2005, 10:55 AM
Registered User
 
Join Date: Jun 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default @directives and includes

For @directives, I am understanding from MSDN docs that you are not supposed to use them in include files.

MSDN docs with initial claim.

The docs offer little in the way of a "why" and further searching on the docs, these forums, and google has turned up nothing.

My issue is that I would think if you (or myself in this case) had an application where you knew that your directives would be the same for all pages for the life of the application, you would probably just want to place all the directives in one file and include that file at the very top of your page.

Hope this isn't obvious...

 
Old June 15th, 2005, 04:57 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

Yes, that is right.

_________________________
- Vijay G
Strive for Perfection





Similar Threads
Thread Thread Starter Forum Replies Last Post
Caching directives in webserver manuelam BOOK: Professional Apache Tomcat 0 June 16th, 2006 02:18 AM
ASP Includes in .NET sabu21s Classic ASP Databases 0 October 20th, 2005 04:43 PM
conditional prepocessor directives Ibn_Aziz C# 3 February 9th, 2004 12:24 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.