Expression® Web Design

Check to See If ASP Is Supported

Sunday, December 21, 2008
When deciding to switch to a server side language, like CFM, PHP, ASP, .NET, it is always a good thing to check to see what your server supports.  Usually, if you are on a Windows server, ASP and ASP.NET will be supported.  On a *NIX server, PHP is usually supported.  There are always exceptions to this of course, and ways to check what is supported on your server / webhosting account.

The code to use can be something as simple as

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>Untitled 2</title>
</head>
 
<body>
<%
response.write("If you see this, ASP is probably supported")
%>
</body>
 
</html>


and it is saved with an .asp file extension.  When upload, you should see a page that is similar to this page with the text, if you see this, ASP is probably supported.  (See text and ZIP files for source code.)  If you see just a bunch of the ASP code, your webhosting company might not support ASP or you might need to ask them to activate the server side language on your website.

Using the _vti_inf.html to Determine the Operating System

There is actually another way as well to determine the platform you chose to host your website on using the _vti_inf.html file.  You can consider using this method as well if you are comfortable reviewing the source code from your Internet browser. Remember, if you are on a Windows servers, chances are pretty good that you can run ASP scripts on your website.  You might need to turn on this function in your webhosting control panel.  If you do not see this or you are unable to run ASP, check with your webhosting provider for more information. 

In that support e-mail (ticket), you might see if the Jmail email component from Dundas software is also installed.  If it is, check out Processing the Form with the Jmail Email Component.

DeliciousDigg This PostNewsvineRedditTechnorati

Comments

Name
URL
Email
Email address is not published
Access Code secureimage
Please enter the access code
Remember Me
Comments








Feeds