|   Web Site Hosting    |   Domain Registration    |   Resellers    |   Dedicated Servers    |   Co-Location    |      
 
Dantor Communications
Dantor Communications
Dantor Communications
Dantor Communications
Dantor Communications Dedicated Servers
Dantor Communications Colocation
Dantor Communications E-Commerce
Dantor Communications Support
Dantor Communications Contact
Dantor Communications About Us
   

 

 

 

 

 

 

 

 

 

 

FAQS
 
Is ASP.Net Supported?
Yes. We Support ASP.Net And The .Net Framework.

How Do I Enable Active Server Pages For My Domain?
ASP Support Is Automatically Installed On All Accounts Except The Basic Plan.

Do I Need To Place My Active Server Pages In A Specific Directory?
Active Server Pages Can Be Placed Anywhere In Your Web Site. Active Server Pages Must End With The .asp File Extension.

How Do I Send Mail Directly From A Web Page Or A Form?
There Are Several Ways To Send Mail From An Asp Page. In All Of These Examples, Either The "From:" Field Or The "To:" Field Must Be An Actual Email Account On Your Domain

CDONTS, ASpsmartMail And jMail Are All Installed.

CDONTS Example
<% 
    Set MailObj = Server.CreateObject("CDONTS.NewMail") 
    MailObj.Send "me@mydomain.com", "metoo@mydomain.com", "My Subject", "My Text" 
%>


ASPsmartMail Examples Are Available At www.aspsmart.com

jMail Examples Are Available At www.dimac.net

What Is The Full Path To My Web Root And My FTP Root?
The Full Path To Your FTP Root Folder And Your WWW Root Folder Is Displayed In The Control Panel When You Log On. The Full path To The Directory You Are Working In Can Also Be Found With The Following ASP Code

<% RESPONSE.WRITE SERVER.MAPPATH("/") %>

How Can I Upload Files To My Web Site Through HTTP?
The ASPsmartUpload Component Is Installed To Facilitate File Uploads. Examples For ASPsmartUpload Are Available At www.aspsmart.com

What Version Of Jet Is Running?
Jet Database Version 4.0 Is Running.

How Can I Create A Database Connection, Without Creating A DSN?
Use The Following ASP Code

<%
cst = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" 
cst = cst & "FullPath\mydata.mdb"
set conn = server.createobject("adodb.connection") 
conn.open cst 
%>


How Can I Write A Text File To The Server?
Use The FileSystemObject. This Example Will Create A Text File In Your Web Site.

<%
Dim fso, ts
Const ForWriting = 2
Set fso = CreateObject("Scripting.FileSystemObject")
Set ts = fso.OpenTextFile(server.mappath("test.txt") , ForWriting, True)

' Write a line with a newline character.
ts.WriteLine("Testing 1, 2, 3.")
' Write three newline characters to the file.
ts.WriteBlankLines(3)
' Write a line.
ts.Write ("This is a test.")
ts.Close
%>


How Can I Add A Counter To My Site?
Use The WebCounter Object. This Example Will Create A Text Counter On Your Web Page.

'This Creates The Counter Object
<script runat = server language = vbscript>
function counter()
dim obj
set obj = server.createobject("WebCounter.Counter")
dim iNum
obj.strFileName = server.mappath("\count.txt")
counter = obj.Increment ()
set obj = nothing
end function
</script>

'Place This Code Where You Want The Output
<% response.write "This Page Viewed " & counter() & " Times" %>


If you want to count the number of visits for each individual page, simply assign unique value for the "strFileName" property for each page.

RESOURCES
From Microsoft
    The ABCs of Active Server Pages
    A Brief Overview Of What Active Server Pages Are.

    Active Server Pages Tutorial
    This Two Part Tutorial Provides A Step By Step Introduction To Several ASP Features. The Tutorial Shows How To Build Sample Applications And Demonstrates Key Concepts You Will Need To Understand When Developing Your Own ASP Pages.

    25+ ASP Tips
    This article presents tips for optimizing ASP applications and VBScript.

Other Sources
    The ASP FAQ
    An Excellent Resource With Many Clean, Easy To Follow Examples.

    ASP 101
    A Nice ASP Resource.

 
 
For feedback and suggestions ....
Or Call Toll Free 1-877-878-3662
 
Terms and Conditions Apply for all products and services.
Copyright 1998 Dantor Communications LLC All rights reserved.