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.

What is an ASP File?

--> An ASP file is just the same as an HTML File
--> An ASP file can contain text, HTML, XML, and scripts
--> Scripts in an ASP file are executed on the server
--> An ASP file has the file extnesion ".asp"

ASP Compatibility

--> ASP is a Microsoft Technology
--> To run IIS you must have Windows NT 4.0 or later
--> To run PWS you must have Windows 95 or later
--> ChiliASP is a technology that runs ASP without Windows OS
--> InstantASP is another technology that runs ASP without Windows

Friday, October 12, 2007

Technorati Profile

ASP WHAT IS THAT?

ASP stand for Active Server Pages

What You Should Know?
Its a technology that enables you to make dynamic and interactive web pages.
ASP uses server-side scripting to produce web pages that are not affected by the type of browser the web site visitor is using.

The default scripting language used for writing ASP is VBScript, although you can use other scripting languages like JScript (Microsoft's version of JavaScript).

ASP pages have the extension .asp or .aspx for .net version of ASP instead of .htm, when a page with the extension .asp is requested by a browser the web server knows to interpret any ASP contained within the web page before sending the HTML produced to the browser. This way all the ASP is run on the web server and no ASP will ever be passed to the web browser.

Any web pages containing ASP cannot be run by just simply opening the page in a web browser. The page must be requested through a web server that supports ASP, this is why ASP stands for Active Server Pages, no server, no active pages.

As ASP was first introduced by Microsoft on it's web server, Internet Information Services (IIS), that runs on Windows 2000/XP Pro/NT4, it is this web server that ASP pages usually run best on.

For those of you running Windows and wish to play around with ASP on your own system you will need to install Microsoft's Internet Information Services (IIS).


Where to find IIS
Windows XP Pro/2003/2000
IIS can be found in 'Add/Remove Programs' in the 'Control Panel'.

Windows 98
PWS can be found under 'add-ons' on the Windows 98 CD.

Windows NT4/95
You can get hold of IIS by downloading the NT4 Option Pack from Microsoft (don't be fooled by the name as it also runs on Windows 95).

Windows ME
IIS and PWS are not supported on this operating system.

Windows XP Home Edition
IIS and PWS are not supported on this operating system. For those of you running other operating systems or web servers Sun produce a product called Chili!Soft ASP which enables ASP to be used on other web servers including, Apache, I-Planet, Zeus, Red Hat Secure Server, etc, using various operating systems including, Linux, Solaris, HP-UX, AIX, etc. You can find out more information on Sun Chilli!Soft ASP or download a trial version from, http://www.chilisoft.com/.


Learn More. Because ASP scripts only run server, you can not view ASP code in a browser, you will only see the output from ASP which is plain HTML.

http://www.webwizguide.com/kb/asp_tutorials/what_is_asp.