GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Microsoft  >  ASP
Go To First  |  Previous Question  |  Next Question 
 ASP  |  Question 124 of 147    Print  
1 What programming model is ASP based on?
2 Advantages of using interfaces for data access?
3 What does connection.execute,connection.open do?
4 set application(”varname”)=session what happens here?
5 How do you define disconnected Recordset in ASP?
6 If ActiveCommand property not set in ASP what happens?
7 Application_start,session_start session_end application_end Is the order important?

8 What is 1 mod 2?


  
Total Answers and Comments: 5 Last Update: February 26, 2007     Asked by: kulwant1977 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
January 04, 2006 08:37:24   #1  
nusrath        

RE: 1 What programming model is ASP based on?2 A...

1 What programming model is ASP based on?

ASP is based on Object Programming model

Ref : http://www.asp101.com/articles/wrox/3382/33820605.asp

3 What does connection.execute connection.open do?
connection.Open -- Open the connection to the database

connection.execute --execute the SQL


5. How do you define disconnected Recordset in ASP?

There are two basic techniques for retrieving a recordset directly:

Using a SQL statement or query directly against the DataFactory object

Using a custom business component on the server that returns a recordset

There are two basic techniques for retrieving a recordset directly:

Using a SQL statement or query directly against the DataFactory object

Using a custom business component on the server that returns a recordset


 
Is this answer useful? Yes | No
July 08, 2006 13:01:46   #2  
Amit        

RE: 1 What programming model is ASP based on?2 A...

8 What is 1 mod 2?

its 1


 
Is this answer useful? Yes | No
November 23, 2006 09:00:31   #3  
Palachandra        

RE: 1 What programming model is ASP based on?2 A...

4. set application( varname ) session what happens here?

Throws below error

Application object ASP 0180 (0x80004005)
An intrinsic object cannot be stored within the Application object.

and if we try to execute application( varname ) session throws

Application object ASP 0185 (0x8002000E)
A default property was not found for the object.

because there is no default property for Session object.


 
Is this answer useful? Yes | No
December 26, 2006 05:26:46   #4  
V.Masthanamma        

RE: 1 What programming model is ASP based on?2 A...
7. No The order is not important for Application_start session_start session_end application_end methods since these are present in the global.asa file.
 
Is this answer useful? Yes | No
February 26, 2007 07:00:45   #5  
shweta        

RE: 1 What programming model is ASP based on?2 A...
8. 1 mod 2 1
1.ASP is based on Object Oriented Programming model
7. The order is important which is as follows:
-> Application start (when first user hits the URL and when server starts)
->Session Start (when each user logs in it starts a different session)
->Session End (When user logs out or when session expires this event occurs)
-> Application End (when server stops this event occurs)

 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape