|
What
is ASP?
ASP is a feature of the Microsoft Internet Information Server.
Because the server-side script is simply building a regular
HTML page, however, ASP can be delivered to any browser. The
parts of the code that are to be executed on the server are
enclosed within <% and %> tags. These symbols are referred
to as the delimiters for ASP.
TIP: When a delimiter tag is left off, you will get the following
error: Active Server Pages error `ASP 0116`
Missing close of script delimiter
/bad_script_tags.asp, line 8
The Script block lacks the close of script tag (%>).
The above error is usually caused by not closing your scripting
tag. Many editors now color-code your blocks of code and let
you know if you forgot to close a tag.
Some HTML editors are Macromedia Dreamweaver, Microsoft
FrontPage, and Adobe Go Live, to name a few. A good development
studio for ASP is Microsoft’s Visual Interdev. Visual Interdev
will also let you manage your SQL Server database.
ASP files must end with a .asp extension in order to be processed
by the server. Because ASP files were meant to deliver HTML
files, you can include normal HTML tags inside of your ASP
files. HTML tags are just sent along to the client’s browser.
Back
to Top
Do
I need to do anything to enable ASP on my website?
No. As
soon as you sign up with BuildersPlanet.com, you are able
to use ASP. Sorry ASP support is not available with the BRONZE
account
Back
to Top
Do
I need special software to create ASP pages?
No. As
with HTML, you can create ASP pages using notepad or FrontPage.
You can also use Drumbeat and Visual InterDev.
Back
to Top
Where
can I learn more about ASP?
There
are many places on the web to learn about ASP. A few good
places to start:
Please
remember that we at BuildersPlanet.com do not have the resources
to teach our customers how to use ASP.
Back
to Top
Do
you support Drumbeat?
We do
not yet have all the required Drumbeat components installed.
You can still use Drumbeat, however, to create and publish
your webpages. We anticipate having Drumbeat fully supported
soon. Since Macromedia is phasing out Drumbeat and replacing
it with UltraDev we are re-evaluating our support for DrumBeat.
Back
to Top
Do
you support Visual InterDev?
Yes. We
support the design of your web site with Visual InterDev.
Specific design-time components such as custom .dll's are
not supported.
Back
to Top
Do
you offer the latest browscap.ini file?
Yes. When
a new version of the browscap.ini browser compatibility file
is released, we install it on our servers.
Back
to Top
How
do I setup/troubleshoot ASPMail?
Due to the detailed nature of this response, we have dedicated
an entire page to this topic. Although we do not support
the actual use of ASPMail, since we have the environment,
we have gathered as much information as we could find.
Back
to Top
How
do I request a DSN to be setup?
You can
email techsupport@buildersplanet.com
Please include your domain, datasource name and the location
of the .mdb file.
Back
to Top
Where
is the Best location to place my .mdb files?
The best
location is outside the Root directory, or HTML directory.
Back
to Top
What
is a Global.ASA?
The Microsoft
Visual InterDev manual explains the global.asa file as follows:
The
Global file is an optional file in which you can specify
event scripts and declare objects that have session or application
scope. It is not a content file displayed to the users;
instead it stores event information and objects used globally
by the application. This file must be named Global.asa and
must be stored in the root directory of the application.
An application can only have one Global.asa file.
Global.asa
files can contain only the following:
· Application
events
· Session
events
· <OBJECT>
Declarations
If you
include script that is not enclosed by <SCRIPT> tags,
or that defines an object that does not have session or
application scope, the server returns an error. The server
ignores both tagged script that the application or session
events do not use as well as any HTML in the file.
The
scripts contained in the Global.asa file may be written
in any supported scripting language. If multiple event or
object scripts use the same scripting language, they can
be combined inside a single set of <SCRIPT> tags.
Global.asa
Example
A global.asa
with empty event scripts would look like this:
<script language=vbscript runat=server>
SUB Application_OnStart
END SUB
SUB Application_OnEnd
END SUB
SUB Session_OnStart
END SUB
SUB Session_OnEnd
END SUB
</script>
Global.asa
Events
Application_OnStart
The
Application_OnStart event is executed the first time that
an ASP page within an application is requested.
Session_OnStart
This
event is executed for each user when they first request
a page within an application.
Session_OnEnd
This
event is called when a user's session ends. This could be
cause by an explicit end (ie: session.abandon) or the session
timeout being exceeded.
Application_OnEnd
This
even is called when the application ends. This could be
cause by the application being inactive for a period of
time or the web site being stopped.
Back
to Top
What
COM Components do you support?
Please look at Prices & Plans to
see which components are available with different account
plans.
- ASPMail , a simple email component.
- ASPEmail,
which support attachments and message queuing.
- ASPImage,
which allows you to create images “on the fly”.
- ASPDNS,
a method of looking up IP and reverse host names.
- ASPHTTP,
which allows you to GET/POST/HEAD documents using the HTTP
protocol.
- ASPPop3,
which allows you to POP email.
- SAFileUp,
which allows you to upload and download files.
- ASPDB,
which allows you to quickly and easily display database
information. We use ASPdb Free.
- CDONTS,
an email component.
Back
to Top
Do
you support custom COMs and DLLs?
We do
not allow the installation of custom DLLs on any of our shared
web servers, including registering custom components in MTS.
One of the reasons our pricing is so competitive is that we
do not maintain the staff that would be required to monitor
and audit custom components to insure our web servers' performance
and integrity. With over 30,000 customers, this alone would
be a full-time job for a whole team of developers. One
poorly written component can bring a whole web server, or
even a whole network, to its knees.
If custom
COM objects are a requirement for your web site, you may want
to consider one of our dedicated server plans which start
as low as $200 a month. For more information, please contact
sales@buildersplanet.com.
Back
to Top
What
databases can I use?
Microsoft
Access, FoxPro, SQL, etc.
Back
to Top
Do
I replace or update my database?
Either
is acceptable.
Back
to Top
How
do I set up a Data Source Name?
After
you up load your Database tell us the database filename and
location within your web and we will set it up for you.
All
databases must be located in the /database directory which
must be located outside your /html directory.
Create
a database directory by using an FTP client and place it in
your root directory, not under your /html directory.
After
completion when you log on using an FTP client you should
see the following:
/database
/html
Back
to Top
|