Wednesday, November 14, 2007

How to install PWS and run ASP on Windows 98

1. Open the Add-ons folder on your Widnows98 CD, find the PWS folder and run the setup.exe file.
2. An Inetpub folder will be created on your harddrive. Open it and find the wwwroot folder.
3. Create a new folder, like "My Web", under wwwroot.
4. Use a text editor to write some a ASP code, save the file as "test1.asp" in the "My Web" folder.
5. Make sure your Web server is running.
6. Open your browser and type in "http://localhost/MyWeb/test1.asp", to view your first ASP page.

How to Install PWS and run ASP on Windows NT

Personal Web Server(PWS) is not shipped with Windows NT!!
To run ASP on Windows NT, you will have to download "Windows NT4.0 Option Pack" from Microsoft.

How to install PWS and run ASP on Windows 95

Personal Web Server(PWS) is not shipped with Windows 95!
To run ASP on Windows 95, you will have to download "Windows NT4.0 Option Pack" from Microsoft.

Tuesday, November 13, 2007

How to Run ASP on your own PC?

You can run ASP on your own PC without an external server. To do that, you must install Microsoft's Personal Web Server(PWS) or Internet Information Server(IIS) on your PC.


If you are serious about using ASP, you sould have at least Windows 98 Second Edition or Windows 2000 or later.

What can ASP do for you?

1. Dynamically edit, change or add any content of a Web page.
2. Respond to user queries or data submitted from HTML forms.
3. Access any data or databases and return the results to a browser.
4. Customize a Web page to make it more useful for individual users.
5. The advantages of using ASP instead of CGI and Perl, are those of simplicity and speed.
6. Provides security since your ASP code can not be viewed from the browser.
7. Since ASP files are returned as plain HTML, they can be viewed in any browser.
8. Clever ASP programing can minimize the network traffic.

How Does it Works?

--> When a browser requests an HTML file, the server returns the file
--> When a browser requests an ASP file, IIS passess teh request to the ASP engine
--> The ASP engine reads the ASP file, line by line, and executes the scripts in the file.
--> Finally, the ASP file is returned to the browser as plain HTML.