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?

Questions by kulwant1977   answers by kulwant1977

Showing Answers 1 - 11 of 11 Answers

nusrath

  • Jan 4th, 2006
 

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

  Was this answer useful?  Yes

Amit

  • Jul 8th, 2006
 

8 What is 1 mod 2?

its 1

  Was this answer useful?  Yes

Palachandra

  • Nov 23rd, 2006
 

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.

  Was this answer useful?  Yes

V.Masthanamma

  • Dec 26th, 2006
 

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.

  Was this answer useful?  Yes

shweta

  • Feb 26th, 2007
 

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)

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions