@Language necessary in includes?

Results 1 to 2 of 2

Thread: @Language necessary in includes?

  1. #1
    Join Date
    Dec 1969

    Default @Language necessary in includes?

    Is it necessary to have the &#060;%@Language="VBScript"%&#062; at the beginning of included files if its not the first thing to get run?<BR><BR>

  2. #2
    Join Date
    Dec 1969

    Default @Language almost *illegal* in includes

    You are ONLY allowed to put in *one* &#060;% @ ... %&#062; line in *all* of your ASP code. So if you have one in your main file, then you can NOT have one in your INCLUDE file or you will get an error!<BR><BR>Since it is *possible* that you may wish, someday, to use something like &#060;% @ LCID = xxxx %&#062; (to specify a different "locale" than what the server defaults to) in some of your pages, and since you certainly wouldn&#039;t want *that* in the include files, I think it would be a *huge* mistake to put &#060;% @ ... %&#062; in an include file.<BR><BR>Ehh??

Posting Permissions

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