Customer Login  .   Webmail Login  .   About Us  .   Contact Us
You are here Articles Main / ASP Overview Section 6

ASP Overview - Server Object

     Introduction
     Response
     Request
     Application
     Session
     Server

Server Object
The Server Object is used to do several basic tasks: set the maximum amount of time a script can run before it times out, take a string and either HTML or URL encode it, convert a virtual web address in to an absolute path on the server, and to create an instance of COM components to use in your ASP scripts.

An example use of this object is to create an instance of the ADODB.Connection object that is used to establish a connection to a database.

Set Conn = Server.CreateObject("ADODB.Connection")

In the above code we set "Conn" equal to the instance of the ADODB.Connection object. From here we would call the Open method of this object and pass in the appropriate parameters (data source name, user id, password, etc) to open a connection to a database.

<< Prev Section - Session Object  ||  Next Section - Wrap Up >>

Shared Hosting
Rookie
Pro
Advanced
Dedicated Servers
BASE
BUSINESS
ENTERPRISE
Why Choose Brinkster?
Radical Support
Brinkster Datacenter
Brinkster Network
Corporate Social Responsibility
90 Day Money Back Guarantee
Unsurpassed Value
Client Testimonials
Additional Features
Antivirus
Merchant Account
E-Commerce
Live Chat Communicator
Free Firewall
Website Builder
Free Web Hosting
Support
General Support
Codebank Search
Forums
Articles
Click here for Brinkster Live Chat
Home   Domains   Shared Hosting   Dedicated Hosting   Partner   Support   About Us    Contact Us   Webmail
Copyright © Brinkster Communications Corporation All Rights Reserved. Privacy Policy & Legal