ASPTutorials

ASPTutorials

ASPTutorials

ASP Tutorials

       

  1. Database Driven ASP Chat Application Tutorial
    As soon as the Internet developed, the means of communication over the Internet developed too. However on the Internet we have the same two means of communication like on the traditional communication: asynchronous communication and synchronous communication. The asynchronous communication is done over a longer period of time and does not require that the discussion partners take part to it in the same time. This kind of communication includes the emails (someone is sending the message and the receiver will receive it after a period of time, he will read it and eventually he will send another message as an answer and so on) and the discussion forums (someone is posting a message and other persons at different moments of time will post an answer message to the initial message or to another answer message of the initial message).

      
  2. ASP Tutorial
    In our ASP tutorial you will learn about ASP, and how to execute scripts on your server. You will see that ASP is a powerful tool for making dynamic and interactive Web pages. ASP stands for Active Server Pages.  ASP is a program that runs inside IIS . IIS stands for Internet Information Services . IIS comes as a free component with Windows 2000. IIS is also a part of the Windows NT 4.0 Option Pack.  The Option Pack can be downloaded from Microsoft. PWS is a smaller - but fully functional - version of IIS.  PWS can be found on your Windows 95/98 CD.
       
  3. Active Server Pages tutorial for beginners
    Active Server Pages (ASPs) are Web pages that contain server-side scripts in addition to the usual mixture of text and HTML (Hypertext Markup Language) tags. Server-side scripts are special commands you put in Web pages that are processed before the pages are sent from your Personal Web Server to the Web browser of someone who's visiting your Web site. . When you type a URL in the Address box or click a link on a Web page, you're asking a Web server on a computer somewhere to send a file to the Web browser (sometimes called a "client") on your computer. If that file is a normal HTML file, it looks exactly the same when your Web browser receives it as it did before the Web server sent it. After receiving the file, your Web browser displays its contents as a combination of text, images, and sounds. 

      
  4. ASP Chat Room
    I've built a chat room using the dictionary object in IIS, but I needed a PWS chat room for a LAN-party. It's based on VBScript cause I really hate those JAVA chat progs. This one outputs only pure HTML, and work on any browser that supports frames, cookies and meta refresh (I guess that means something like Netscape 3.0 and newer and IE 3.0 and newer). I must warn you that the code is a bit sloppy. I was pretty low on sleep when I trough this together. It works, but I really would like somebody to stress test it a bit.

      
  5. Utilizing ASP for Database Access
    In this document we will discuss the ability to access SQL Server databases through Visual Basic commands, both in Visual Basic programs and Visual Basic Script. In order to begin a Windows NT 4.0 Server or Windows 2000 Server machine must be installed. SQL Server must then be set up on this machine. Internet Information Server 4.0 (3.0 will work, but the drivers must be installed) must also be configured (5.0 for Windows 2000). ODBC stands for Open DataBase Connectivity (ODBC). This is an Application Programming Interface (API) that allows for data extraction from a database through a unified source.
      
  6. A Beginner's Guide to Sending Email from an ASP Page
    In this tutorial, we will learn how to send email from an Active Server Page using CDONTS (Microsoft Collaboration Data Objects for Windows NT Server). Although there are other CDONTS objects, we will focus solely on the NewMail object in this tutorial. We will cover most of the properties and methods of the NewMail object, and will develop, step by step, a complete and thorough example. It is assumed that the reader has some familiarity with creating ASP pages using VBScript. (Note: If you are viewing this tutorial from a downloaded zip file, the links will not work.) .
       
  7. Working With CDONTS
    All that remains to be done at this point is to process the submitted form data; and, as I told you in the beginning, we are going to send the data via email to your email account using Windows NT Server's Collaboration Data Object (CDONTS).  However, to use CDONTS, we ought to know what it is first. The Collaboration Data Object, according to some Microsoft documentation. "CDONTS is a Simple Mail Transfer Protocol (SMTP) specific OLE server that is specifically designed to provide Messaging functionality to Web-based applications." 
      
  8. Sending Mail from ASP with CDONTS.NewMail Object
    Welcome to DevASP, the first place to look for all your ASP and XML information needs. Here you will find links to articles and tutorials written by ASP and XML experts, sample ASP and XML code, free programming tools and downloads, sample chapters of new ASP and XML reference books and announcements of training courses and conferences where you can sharpen your ASP and XML skills. 
    Check us out often because we're always adding new features. And before you leave, be sure to subscribe to our DevASP newsletter for a timely "heads-up" when there is important ASP or XML news you should know about. DevASP is here to help you unleash the power of ASP and XML! 
      
  9. Locking Script
    The script itself is a small include file, which you can use #include to insert into your own files. It uses the HTTP_REFERER server variable to detect the URL of the form that the script was called from. It extracts the site from the URL and checks it against a simple text file to see if the site is allowed to use your script. If the calling site is in the list your script continues, if it has been called from somewhere you have not specified the user's browser is redirected to a file of your choosing, normally one which informs the user that someone has called your script without permission. In a later article you will find an extension of this script that will log the calling URLs so you can review them and contact the people using your code without permission.
     
  10. About Developing Reusable Libraries
    There are numerous books, articles, research publications, and web sites on the subject of developing reusable libraries. This web site talks about specifics of developing reusable libraries that integrate well with the Common Language Runtime and the vision of .NET. The .NET framework team was the first team to develop such libraries. We would like to share with you the experience we gained during the process, recommend good practices to follow, warn about potential pitfalls to avoid, and ultimately help you to be a successful library developer.