Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 80 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
80
Dung lượng
1,06 MB
Nội dung
Microsoft Enterprise and Support Training Microsoft Confidential
Web DevelopmentwithInternet
Information Server4.0
Microsoft Enterprise and Support Training Microsoft Confidential
Course Overview
Introduction to Server Side Development
Administration and Configuration
Tools and Debugging
Built-in Object
Installable Components
Microsoft Enterprise and Support Training Microsoft Confidential
Module 1:
Introduction to Server
Side Development
Microsoft Enterprise and Support Training Microsoft Confidential
Module 1 Objectives
At the end of this module, you will be able to:
Diagram how ASP scripts are tied in to ASP.DLL.
Create basic script examples, demonstrating inline code
or functions/subroutines.
Microsoft Enterprise and Support Training Microsoft Confidential
Browsing HTML
Microsoft Enterprise and Support Training Microsoft Confidential
Browsing Active Server Page
Microsoft Enterprise and Support Training Microsoft Confidential
Active Server Pages
Runs on the server
Uses <% %> delimiters or <Script RunAt=Server>
Currently JScript and VBScript
Script Engine SDK creates others
Microsoft Enterprise and Support Training Microsoft Confidential
Web Applications
Application Root
GLOBAL.ASA
Microsoft Enterprise and Support Training Microsoft Confidential
Application Roots
Microsoft Enterprise and Support Training Microsoft Confidential
Simple Active Server Script
<%@Language=VBScript%>
<HTML>
<BODY>
<%
Dim strMsg
strMsg=“Hello World”
Response.Write strMsg
%>
</BODY>
</HTML>
[...]... module, you will be able to: Access information supplied by the user through forms Create “shopping cart” web pages, using cookies to track customer choices Related topics: Web farming Tracking state without cookies Microsoft Confidential Microsoft Enterprise and Support Training Built-in Objects These objects are built into IIS 4.0: • Response • Request • Server • Application • Session • ObjectContext... and Support Training Using Script Debugger Microsoft Confidential Microsoft Enterprise and Support Training Troubleshooting Is the problem client script or server script? Client errors appear in dialog boxes Server errors appear within Web Page Microsoft Confidential Microsoft Enterprise and Support Training Demonstration Microsoft Confidential Microsoft Enterprise and Support Training Lab Microsoft... Permissions Temporarily add I_USR* account to Administrators Enable Auditing on NT box to determine what files could be causing a problem Determine if it is an access problem to the WebServer or a remote server (such as SQL server) Microsoft Confidential Microsoft Enterprise and Support Training Lab Microsoft Confidential Microsoft Enterprise and Support Training Module Page Module 3: Tools and Debugging... Server • Application • Session • ObjectContext Microsoft Confidential Microsoft Enterprise and Support Training More info Online help covers built-in objects: Windows NT 4.0 Option Pack Documentation Microsoft InternetInformationServer (IIS) Scripter’s Reference Built-in ASP Objects Microsoft Confidential Microsoft Enterprise and Support Training Response Model Collections Properties Buffer... QueryString Properties Cookies ServerVariables Microsoft Confidential TotalBytes Methods BinaryRead Microsoft Enterprise and Support Training Forms with the POST method Passed to url using HTTP_POST Must use Request.Form(controlname) to retrieve value of control Microsoft Confidential Microsoft Enterprise and Support Training Forms with the GET method . Enterprise and Support Training Microsoft Confidential
Web Development with Internet
Information Server 4. 0
Microsoft Enterprise and Support Training Microsoft. problem
Determine if it is an access problem to the Web Server
or a remote server (such as SQL server)
Microsoft Enterprise and Support Training Microsoft