1. Active Server Pages: Web Scripting Made Easy A Hands-On Workshop in the New Brunswick Computing Services Instructional Lab By Michael Dobe Sponsored by The New Jersey Intercampus Network Internet Technology Project http://www.njin.net
2.
3.
4.
5.
6.
7.
8.
9. Active Server Pages: Part I Topics: “Review of Client and Server-Side Scripting”; “Getting Up and Running”; “Introducing ASP and VBScript ”
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
30. <HTML> <HEAD> <TITLE>Polite Web Server</TITLE> </HEAD> <BODY BGCOLOR="wheat"> <P> <FONT COLOR="Teal" SIZE="3"><B> The Polite Web Server, at <%= Time %> on <%= Date %> </B></FONT></P> <P><B> <% If Hour(Now) < 8 Then %> Don't you know what time it is? I was still in bed! <% Else Randomize intChoice = Int(Rnd * 4) Select Case intChoice Case 0 %> So, where do you want me to go today? <% Case 1 %> Well, look whose back visiting us again... <% Case 2 %> Hi there, and welcome to our site. <% Case 3 %> It's raining here, what's the weather at your end like? <% End Select End If %> </B></P> <HR> </BODY> </HTML>
31.
32. Active Server Pages: Part II Topics: “HTML Forms” and “VBScript Basics: Variables, Variants, Operators, String Manipulation and Arrays”