AllExperts > Experts 
Search      

Active Server Pages Programming (ASP)

Volunteer
Answers to thousands of questions
 Home · More Questions · Answer Library  · Encyclopedia ·
More Active Server Pages Programming (ASP) Answers
Question Library

Ask a question about Active Server Pages Programming (ASP)
Volunteer
Experts of the Month
Expert Login

Awards

About Us
Tell friends
Link to Us
Disclaimer

 
 
 
 
About Jeff Allen
Expertise
I can answer basic to intermediate questions related to Classic ASP.I can answer Intermediate to Advanced questions CSS& HTML, and basic questions about JavaScript and Ajax. I can also answer questions related to web page accessibility under US Section 508.

Experience
I have 8 years experience with HTML. I have been developing in ASP, VBScript and CSS for two years each. I also currently work as web developer.

Organizations
IWA-HWG

Education/Credentials
I have a BA in English with minors in Web Design and Scientific and Technical Writing

 
   

You are here:  Experts > Computing/Technology > Business Software > Active Server Pages Programming (ASP) > binding, type-checking, scoping

Topic: Active Server Pages Programming (ASP)



Expert: Jeff Allen
Date: 7/23/2006
Subject: binding, type-checking, scoping

Question
good day sir!

can i ask what type of binding does ASP have, what are the characteristics of ASP's type-checking and scoping?

i hope you can answer me.. thank you!

Answer
Scoping: By default, all object and component instances created in an ASP page (whether with Server.CreateObject method or an <OBJECT> element) have page scope. This means that they haveonly as long as the page is executing in ASP, and they are destroyed automatically after the page has completed and the results sent to the client.

You can also specify if an object or component shouldhave application or session scope.

Binding (as in to text documents and database is controled through the use of ADO Objects like Server.CreateObject.

As for type checking, I'm not sure I can answer you on this one. I can tell you that in ASP you don't declare an element to be a bit, int, double or float so typing is aomewhat loose. However there are built-in objects like CBool, CDbl, CInt etc that ca convert a variables value to a Boolean, Double, or Int data type.

Hopefully this helps.

Add to this Answer    Ask a Question



  Rate this Answer
   Was this answer helpful?
Not at allDefinitely              
   12345  

     
About Us | Advertise on This Site | User Agreement | Privacy Policy | Help
Copyright  © 2008 About, Inc. About and About.com are registered trademarks of About, Inc. The About logo is a trademark of About, Inc. All rights reserved.