If you can't explain it simply,
you don't understand it well enough.
-Albert Einstein
 
Home   News   Tips   Glossary   Templates   Forums   Help   Logon   Order   Contact Us  
 
NEW Release: Access Developer Level 3   dismiss
 
 
Courses - Active Server Pages 201
Description: Intermediate ASP 201
Running Time: 72 minutes
Pre-Requisites: ASP 104
Versions:
We use Standard ASP on a Windows Server. We also use Microsoft FrontPage 2003 for our Web editor. You can use any server or Web editor compatible with ASP.
 

 Click here for the Teacher's Outline
 

Major topics covered in this class:

  • Server-Side Page Includes
  • Creating a Header for the Entire Site
  • Accessing Files & Folders
  • Reading Text Files

In this class, we begin by learning about Server-Side Page Includes. This allows us to include one page inside of another. We can use it to create a custom header and footer for our web site (and perhaps a links bar, banner ad sections, etc.) that will be on every page of our site. You can also use it to include functions or subroutines in multiple pages without having to copy and paste them.

Next, we'll learn how to work with Files & Folders on the server. We'll learn how to see if a file or folder exists, how to access the file's properties such as the date it was last modified or it's size. Then, we'll learn how to loop through all of the files and subfolders in a folder.

Finally, we'll learn how to read data in from text files on the server. This can be very useful to create things such as a username/password list for logons, product lists, customer data, etc. if you don't want to go through the trouble of setting up a database. If data doesn't change that often, a text file is often good enough.

Understanding text files is a good first step to eventually working with databases. For those times when you don't want to set up an entire database to do something simple (like provide a username/password logon) text files work just great. You can also use text files for things like creating a custom server log, invoice, etc. Don't miss this class.

 
 


Try a FREE Demo Lesson

 

 Click here for the Teacher's Outline
 
 
 

Student Interaction: Active Server Pages 201

Richard on 8/20/2008:  ASP 201 covers Server-Side Page Includes, Creating a Header for the Entire Site, Accessing Files & Folders, Reading Text Files See the complete outline here: /site/courselist/asp/asp201/
 jeff horvate on 4/30/2012: I don't have sever in my home, but I use GoDaddy as my sever. do you have any thing to help me for GoDaddy?

Reply from Richard Rost:

If you set up an account with GoDaddy, make sure you have MICROSOFT HOSTING, and not their Linux hosting. If so, uploading your Access database to work on their site is exactly like I show you in class. If you're using Linux Hosting, you'll have to set up a MySQL database on their site, but once that's set up you can still use the ASP code from class to access that data.

 jeff on 5/14/2012: How do you turn on error checking feature in th bowser

Reply from Richard Rost:

I don't understand your question. Can you please elaborate?

 jeff on 5/17/2012: on amicron theater
in asp 201 third leason at 11:21

there is help message
How do you turn on this?

This will be great

 jeff on 6/24/2012: I can't find what class were we made sign up to be on email list

Reply from Richard Rost:

I'm sorry, Jeff, but I don't know what you mean. Can you please elaborate?

Mubeezi Micah on 12/22/2012: Dear Richard,

Time index 6:55. I have noticed that on several occasions, as soon as you save the .asp page, you open the browser, refresh and its already published.
I am using expression web and i have to save, click site, then click publishing, then select the file to publish and wait for the process to complete!!
Could it be that you were cutting/editing some bits out of the video or is there some setting that i could set in Expression web to reduce the length of the publishing process? It would realy be nice that as soon as i save, the page is published automatically. Please let me know

MICAH

Reply from Richard Rost:

Micah, when those videos were produced, it was possible to open up your web DIRECTLY on the server and work with the pages there. That's actually how I preferred to do things.

However, with the release of IIS7, Microsoft dropped support for Frontpage Server Extensions, so now you have to use FTP for working with your web. This means doing exactly what you talked about... keeping a LOCAL copy of your web. Editing the page, then publishing it. It adds an extra step.

With Expression Web, however, there are some shortcuts... for example, I hit CTRL-S to save and the right-click on the PAGE TAB while it's open and select PUBLISH. Works real quick. You can also create your own custom toolbar and just put SAVE and PUBLISH right next to each other. It's one more click, but it's not that bad.


MUBEEZI M on 12/23/2012: Thank you very much Richard! This is very helpful.
MICAH

 

You may want to read these articles from the 599CD News:

 

Learn
 
Accessindex
Excelindex
Wordindex
Windowsindex
PowerPointindex
Photoshopindex
Visual Basicindex
ASPindex
Seminars
More...
Customers
 
Account Login
Online Theater
Downloads
Lost Password
Free Upgrades
Insider Circle
Student Databases
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Articles
Search Our Site
Waiting List
Production Schedule
Collapse Menus
Help
 
Live Chat
Customer Support
WalkThru Tutorials
Troubleshooting
FAQs
TechHelp
Consulting Services
About Us
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
Order
 
Video Tutorials
Handbooks
MYOLP Memberships
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Gift CDs
Contact
 
Live Chat
General Info
Support Policy
Contact Form
Email Us
Mailing Address
Phone Number
Fax Number
Course Survey
Facebook    Twitter

Google Plus    LinkedIn

Blog RSS Feed    YouTube Channel
Richard Rost Microsoft MVP