Seem Internet Solutions Bargain Domain Name Registration and NT Web Hosting Packages

UK and US Domain Names Registrar and NT Web Hosting Packages
WorldPay Secure Shopping

See What Domain Names Registrations and Hosting Packages are in your Shopping CartView Cart

Domains Hosting FAQ / Support
Control Panels Dial Up Access Contact


ASP Frequently Asked Questions

ASP

What is ASP?
How do I connect to my Access Database?
Where should I upload my database to?
How do I use server side includes?
I'd like to download an ASP email Script
What ASP components are installed?
Where can I get more help?


Back to the Support Index

 

ASP Frequently Asked Questions

 

What is ASP?
ASP is an abbreviation for Active Server Pages. The code inside ASP is mixed in with standard HTML and is NEVER seen by the browser. ASP pages run in ALL browsers.     top

 

How do I connect to my Access Database?
You connect using DSNless connections. This is faster than a system DSN since it saves a trip to read the registry each attempt. The following is an example of how you can set up your connection.

<%
accessdb="yourdatabasename.mdb"
myDSN="DRIVER={Microsoft Access Driver (*.mdb)};"
myDSN=myDSN & "DBQ=" & server.mappath(accessdb)
query="SELECT * FROM customers etc..."           '(your SQL query)

SET connect = Server.CreateObject("ADODB.Connection")
connect.open (myDSN)
SET RS = connect.execute(query)    '(Load Record Set)
.....the rest of your code......
%>           top

 

Where should I upload my database to?
You should upload your database to the root directory of your webspace . It is preferable to ensure your database is password protected.       top

 

How do I use server side includes?
Save the code to be included as yourincludefile.inc or yourincludefile.asp , or yourincludefile.txt. Simply put the include code within HTML pages, inside comment tags. You will need to save the pages as ASP rather than HTML. Examples:

<!--#include file="yourincludefile.inc"-->
<!--#include virtual="yourincludefile.inc"-->

When the page is loaded by a browser the contents of yourincludefile.inc will be included within the page.   top

 

I'd like to download an ASP email Script
We have an example on our downloads page   
top

 

What ASP components are installed?
Jmail (mail) and ASPUpload   
top

 

Where can I get more help?
We recommend http://www.learnasp.com a brilliant resource written by Charles Carroll. There are hundreds of lessons and lots of code here, plus links to all the top ASP sites.   top

Back to Support Index


ASP Frequently Asked Questions

© 2008 Seem Internet Solutions Limited All rights reserved.
View our Privacy Policy - More Info About Us - Customers Comments - Vat Number 859720389