ASP Cookies and Sessions tutorials
This article describes how you can secure ASP applications using simple, but quite effective authentication schemes. This article uses a very simple way to achieve this. Just follow the steps and you have a secure login system.
Related Tutorials
Authentication Tutorial
This is a quick and easy guide to building an authentication system in ASP. First, it explains Authentication: What it is, how you work with it, and what options are currently available to you. Then, it explains each choice in more detail to help you decide which is the best way for you to authenticate your web users.
Creating a simple ad rotating system using ASP
Creating a advertisement rotator page is easy - ASP comes with an Adrotator component that's easy to use. The component, called AdRotator, is installed when you install ASP. The component has been a part of ASP installation since the first version of ASP.
Downloading Files with VBScript and ASP
Setting up a simple file downloading system with VBScript and ASP is no sweat.The primary use for a system like this is to allow downloading of any TEXT based file that would normally be served via a client's browser and be unable to be downloaded.
A Simple Quiz Script
ASP is a very simple language if you know its syntax (in that way, it is much like every other programming language, albeit in ASP's case a bit more forgiving than some others). This tutorial describes the construction of a very simple ASP quiz script, which works with just two files: quiz.asp and data.asp.
Rotating Banner Ads using a Database
This is simple Ad rotation system based on ASP-SQL Server combination.
Implementing Error Logging in ASP 3.0
It is important to know what is going on with your site in development and production. By implementing proper error logging, you can quickly track down errors, and provide your team members with enhanced error information. With the new ASP Error object you can create a simple and effective logging system.
An Article Rating System With ASP
In this tutorial I'm going to show you how to use ASP and a Microsoft Access database to create a basic content rating system. We will look at how to setup the database to accept ratings, how to add ratings to the database, how to stop users from rating once they have already done so, and finally how to accumulate the ratings for each piece of content and display them in a graphical format.
ASP Authentication Using IP Address
This article explains how to control application access by validating the user's login and password against a database. Once validated, the IP address of the machine they are using is checked at the top of every page. What a given user can or can't do (that is, the security levels) is now handled easily.
ASP Hit Counter
You can count the number of visitors on your site with a very simple ASP code. Create a file Count.asp with the following code and add in the header of every page useing Server Side Include(SSI).
Creating a Click-Through Tracking System
How to create a database-driven click-through tracking system using ASP. Useful for monitoring click-throughs for banners, hyperlinks or file downloads.
Chat Using ASP & XML
This article assumes that you are familiar with ASP, XML and HTML. Using this chat system, we can chat how we conventionally chat, in public as well as private modes. Even though I've implemented most of the conventional features such as unique nick names, the reader is welcome to incorporate any other features they require.
Accessing Database from ASP
In this tutorial I will guide through the creation of a simple Microsoft Access database to incorporating it in to your ASP web pages.
Variables
Declaring variables in ASP is simple, especially since all variables are of Variant type. What does this mean to you? You don't have to declare if your variable is an integer, string, or object. You just declare it, and it has the potential to be anything. To declare a variable in ASP/VBScript we use the Dim statement. If you wanted to print out the variables, you could use the ASP 'Response.Write' command.
Create a Custom ASP Error
This system allows you to assign custom errors to common problems that you may experience with your web site and create a centralized error page to display custom errors. This one is so easy, you can implement it into any existing system just by adding a couple lines of code to each script.
Access ASP Application object from a remote script
ASP has no interface to access Application data from other environment than VBS/JS in context of ASP page in the same application. But we can create a simple http interface and use the Application object from any other environment - wsh, VBA (Word, Excel), etc.
How to create a System DSN for Access database
You can connect to an Access database within an ASP page with different methods. This article will help you to create a System Data Source Name (DSN) for an Access database on your local machine.
ASP For Beginners
What is ASP? ASP stands for Active Server Pages. Actually, ASP in itself isn't a language, instead it is more of a technology used by VBScript on the server side to display dynamic content on the web pages.
Speeding Up ASP Page Execution
ASP pages are executed on the fly by a server when they are requested by a visitor. Because they are not compiled, ASP scripts are slow and hold up the processing of an html page. This results in people leaving your site and severely reduces the enjoyment that your asp apps can provide.
Inserting Rows into a Database
This tutorial will show you how to insert a row of data into a database using ASP and an MS Access database. You can do it on one ASP file, but we'll have two files: one processor page (proc.asp), and one form page (form.asp). Then, we'll make the MS Access database that corresponds to the ASP.
Creating a Server Component with Visual Basic
This article is primarily for Active Server Pages (ASP) developers who would like to take their ASP skills a step further. By bundling ASP code into server-side components, developers not only increase Visual Basic functionality and ASP speed, but also find a marvelous way to encapsulate and protect their ASP source code.
Database-Driven WWW Help System
Most Web applications are simply several pages linked together. If the viewer has a question or requires help, a simple hyperlink to FAQ does the trick. But some applications require incorporating a more complicated help system into the existing Web application.
Simple Web-Database System Application
This application is for the beginners who wonder how to build their own web database system on their own computers. I will use Microsoft FrontPage98 and Microsoft Access in the demonstration. The reader should be familiar with the RDBMS concept and know how to use Microsoft Access tool to build a local database system. They should also have the Northwind.mdb file, which is included in Microsoft Office 97.
Creating Visual Basic COMponents for ASP
This article teaches the ASP programmer to write their code in VB, make it as a DLL and reuse it in their ASP code.
ASP Speed Tricks
This articles describes practical methods of optimizing the performance of classic ASP pages which retrieve and display tabular data from a database. Comparative test results are presented. Many of the techniques apply to ASP.Net and other scripting languages.
Send an email from ASP using CDONTS/Outlook
There are several ways to send an email from VBS (ASP, WSH, IE-HTA, ...) or from VBA (Word, Excel). This page contains sample code to send simple email message for CDO, CDONTS and Outlook objects.
Adding Form Content into Database
In this article we will create a simple HTML Form and an ASP page. Any data which is entered by the user in that HTML Form will be received by the ASP action page and will enter that data into the Access database.
Sending Email with ASP
All good websites need to be able to send and recieve email . Ok you could have a mailto link in your page pointing to your email address which when the user clicked on it their default email client opened up but why not let ASP handle this . We will use ASP and CDONTS for this task .
ASP Session Transfer across domains
You may have come across a situation where you have two ASP websites, possibly on different servers, and you wish to pass a visitor from site 1 to site 2 whilst retaining all the session variables.XSess passes the entire session from one ASP webserver to another securely.
Self Submitting Pages
A very important coding method to understand when developing ASP pages is the page that submits to itself. This technique is very powerful and can drastically reduce the number of files you have to maintain and the number of places in which you need to make changes when maintaining code. The concept is simple. Using forms, set the action value to the URL of the page in which the form resides. Then use ASP code to determine what the current state of the page is, and present the proper output to the user.
Building an ASP File Manager
This article describes how to build a very powerful, potentially destructive application using the File System Object. It should never be implemented in a production environment without ensuring that proper security precautions have been taken to maintain the integrity of the data contained on the web server.
Replace relative links to absolute base links in HTML - VBScript, ASP
Simple replace function - replaces relative links to absolute base links in HTML href and src attributes and a, img and link tags. It works in ASP or WSH.
Sessions
This chapter describes: * How ASP server uses cookies to pass an ID with the browser to link multiple HTTP requests together. * How ASP server offers the session object to ASP pages to share information between multiple requests or pages. * Different ways to pass information between requests or pages. * How Perl tools can be used to help debug ASP applications at the HTTP communication level.
Online Exam using ASP & XML
Using this OnLine Exam system, we can conduct any type of objective type examinations on line. Eventhough I implemented most of the conventional things, the reader is highly appreciated to incorporate all other features whatever so.
Creating Dynamic JavaScript with ASP and Databases
This tutorial explains how to put ASP tags inside of JavaScript blocks so developers can fit large amounts of data into one form on a single page. It provides an overview of things that can be done with dynamic JavaScript with ASP and data queries.
Basic Active Server Pages Tutorial for beginners
This tutorial will teach you the basics of vbscript, ASP intrinsic objects, how to call ASP intrinsic objects and make use of them and what makes a .asp page different from a .htm / .html page.
An ASP Tutorial to create your own Database driven Search Engine
In this article I will guide you through the steps of creating a simple but effective search engine. We will divide our work into two steps : Step 1 : Create a set of ASP pages to index the site content. Step 2 : Create a search engine to offer keyword specific database dependant search to our visitors.
Registering Your Components on NT 4 with ASP
This article will explore how to register your DLL's on NT, using ASP.
Create your first ASP page
Learn how to start programming in ASP. Useful for beginners.
View Your Web Servers Log Files With ASP
In this article I'm going to describe a simple way to create an ASP page that will allow us to view our web servers log files. We will be able to choose which log file to view, the format of the log file, and the number of individual log entries to display.
Syndicate Your Content With ASP
This tutorial demonstrates a simple way of implementing a tip of the day application that can be syndicated out to other sites.
 
Categories