![]() |
ASP Directives![]() ![]() ![]() ![]() ![]()
ASP provides directives that are not part of the scripting language you use. These directives are the output directive and the processing directives. < % @ LANGUAGE = VBScript %> The processing directive must appear on the first line of an asp file. Do not LANGUAGE - Sets the Scripting language for the page CODEPAGE page - Sets the code page(the character encoding)for the LCID Sets the locale identifier for the page. TRANSACTION - Specifies that the page will run under a transaction context ENABLESESSIONSTATE - Specifies whether an ASP Page uses session state. You can include more than one keyword in a single directive; key word / value pairs must be separated by a space. Do not put spaces around the equal sign (=). The following example sets both the scripting language and the code page: <%@ LANGUAGE = Jscript CODEPAGE = 932 %>
|
|
Domain NamesASP IDC and HTX Files Creating ASP Pages Adding Script Commands Mixing HTML and Script Commands ASP Directives Setting the Primary Scripting Language Using VBScript and JScript on a Server Variable Scope Session Scope Application Scope
Defining Procedures Calling Procedures Components ASP ApplicationsWeb DesignWeb HostingE Commerce |
| Home | Web Hosting | Web Design | Sitemap |
| Copyright (C) 2007. Web Domain design hosting. All rights reserved. |