Home | Hosting | Dedicated | Sign Up | Features | Support | News | Resellers | About Us | Contact
  search:
FREQUENTLY  ASKED  QUESTIONS

- Presales Faq Answers to commonly asked presales questions.
- Postsales Faq Answers to questions you may have when just getting started.
- Administrative Faq Answers to questions regarding billing and general issues.
- Techical Faq Answers to technical web hosting questions.
- Asp and ODBC Faq Information on using ASP and ODBC with our system.
- E-mail Faq Answers to common e-mail setup questions.
- Multimedia Faq Different ways in which you can add dynamic impact to your site.


What is Active Server Pages (ASP)?

Active Server Pages is a newer programming language designed to run active content on the server and then display the result on the viewer's browser. It is used extensively for such tasks as managing and querying on-line databases and building intuitive forms.

Unlike JavaScript, which downloads the actual code into your browser and then activates, ASP pages run strictly on the server. The user triggers a request from the web page, the ASP processes it, and then sends back the requested info in purely HTML format- i.e. no actual ASP coding leaves the server and it is protected from being plagiarized.


What server side scripting languages are supported?

At the moment we support VBScript and JavaScript. PerlScript is only supported by special request when you place your order.


Where can I place my ASP files?

Your ASP files can be placed anywhere in your web. The root directory is a good location. If there is a global.asa file it must be in the root directory.

If you will be using multiple "applications" in different subwebs then you can use multiple global.asa files but you must contact support@hostsiam.com and have your subwebs set up this way.


What types of databases are supported with ODBC?

We are currently supporting MS Access, FoxPro, and dBase. MS SQL is also supported for a more advanced database options.

Click here to learn about upsizing your MS Access database to MS SQL Server with Microsoft's upsizing wizard.


What 3rd party ASP components have already been installed which I can use?

Please see our list of ASP Components...

If you want us to install a specific component for you, please contact support@hostsiam.com.


What should my connection string look like for a system DSN?

This will work...
Session("DataConn_ConnectionString") = "DSN=mydsn"

so will this...
Session("DataConn_ConnectionString") = "DSN=mydsn;UID=;PWD="

If you are trying to use a file DSN it probably won't work.

You will also need to add a system DSN on your local computer for seamless operation. This can be done in your ODBC control panel.

1. Open the control panel, then double-click on the ODBC icon.
2. Select the System DSN tab. Click add for a new DSN.
3. Choose the appropriate driver (MS Access).
4. The Data Source Name should be the DSN. In the above example it's mydsn. It should be the DSN we already set up for you.
5. Click on Database select and choose the database file on you computer.
6. Click OK to exit.


I need to read/write files. How do I find the correct path for my site?

The correct way to do this would be using Server.MapPath. This would map the virtual path to a physical location on the disk.

Ex.
If you have a file in your root web called visitor.txt and you use Server.MapPath("/visitor.txt") and the physical path to you root web was "F:\webs\yourweb" then it would return: "F:\webs\yourweb\visitor.txt"

If you use this method you should never have to worry about the physical paths.


Where can I find more information about programming in ASP?

Please see ASP Resources hosted by HOSTSIAM.


If I have multiple domains pointing to the same web, can I use ASP to find out which domain they used to reach my site?

This information is useful when you have multiple domains pointing to your IP and you want to redirect to the proper page according to domain name.

You can use the following command in an ASP script to find the domain name used:
Request.ServerVariables("HTTP_HOST")

The following page shows a simple way to redirect to each domain name:

<%
Dim HTTPHost
HTTPHost = Lcase(Request.ServerVariables("HTTP_HOST"))
If HTTPHost = "http://www.domain1.com/" then
    Response.Redirect ("http://www.domain1.com/dir1")
End If
If HTTPHost = "http://www.domain2.com/" then
    Response.Redirect ("http://www.domain2.com/dir2")
End If
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>New Page 1</title>
</head>
<body>
</body>
</html>

You can place this script as your default.asp and place your web content in sub-webs or subdirectories. If your domain name is www.sample.com and someone types www.sample.com in their browser, they will be redirected to http://www.sample.com/www.sample.com/. The content for www.sample.com would be in that directory. If you also had www.test.com pointing to your IP and someone typed www.test.com in the browser, they would be redirected to http://www.sample.com/www.test.com/. You can see how this can be very useful.

There is a one-time setup of fee per host header pointer of $10.  For example http://host/


Can I register a custom or 3rd party component on the server?

Since certain components can cause major security and stability problems on our servers, they must all be approved prior to installation. You should upload the component to your cgi-bin directory along with it's documentation for 3rd party components and source code for custom components. Send an email to Support with your IP address and default username along with the specific details of the component. If we approve the component, we will install it in MTS or with regsvr32.exe. If we are installing a custom component, it should be fully debugged and tested. If any component is found to compromise the system, it will be removed. There is a $25 setup fee for each registration and you must be on plan two or above. The component must not be in a setup package. We will not run setup programs on our servers in order to install components due to the fact that they sometimes overwrite newer DLL's.

Please allow 1 to 2 weeks for registering components.


Do you support VB6 webclass DLL's?

Yes. Although the runtime is installed on most of our servers, in some cases where it is not installed, we may need to install it. We will install it when we register your component.


Do you support remote debugging of ASP?

We currently do not support remote debugging of ASP.


Do you support the VB Package and Deployment Wizard?

We do not support deployment with the PDW. You can still use your components, but not deploy them with the PDW. The components must go by the rules above.

More will come soon...

     
   Support Menu
 
Customer Login
Online Manual
Microsoft Office 2000
Microsoft Frontpage 2000
FAQ
Contact Support
Unix Customer
Add DSN

Friday, July 04, 2008

  © 2000-2004, Net Bright Co.,Ltd, , All Rights Reserved. Thairegister is a service mark of In and Net Bright Co.,Ltd. Additional copyright and trademark information.