GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Microsoft  >  DotNet
Go To First  |  Previous Question  |  Next Question 
 DotNet  |  Question 9 of 165    Print  
Can you give an example of what might be best suited to place in the Application Start and Session Start subroutines?

  
Total Answers and Comments: 2 Last Update: August 13, 2005   
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
May 26, 2005 01:56:51   #1  
Saravanan        

RE: Can you give an example of what might be best suited to place in the Application Start and Session S...
Application Start - We can place code to initialize variables once during application start. (e.g db connection string)

Session Start - We can place code to initialize variables specific to the session (e.g USER ID and other specific info related to this session)

 
Is this answer useful? Yes | No
August 13, 2005 16:52:12   #2  
Jitendra Kumar Thakur        

RE: Can you give an example of what might be best suited to place in the Application Start and Session S...
Application Start This Event is fired when the server which holding application starts whereas Session Start event is fired when any User has access that page or Session has been created. Suppose we want to track that how many users have accessed our sites today then Application Start is the best place to do so or we want to give some personalised view to User than Session is the best place.

 
Is this answer useful? Yes | No

 Related Questions

CLR is .NET equivalent of Java Virtual Machine (JVM). It is the runtime that converts a MSIL code into the host machine language code, which is then executed appropriately. The CLR is the execution 
Latest Answer : CLR - Common Language Runtime...Its a virtual machine of Microsoft's .Net,During Compile time the Source code(C#,VB.Net..) is converted into Intermediate Language (MSIL),During Runtime this IL is converted to native code to Operating System by ...

Can you give an example of when it would be appropriate to use a web service as opposed to a non-serviced .NET component

Can you give an example of what might be best suited to place in the Application Start and Session Start subroutines?

Latest Answer : In ASP.NET there is three ways to manage session objects. one support the in-proc mechanism and other two's support the out-proc machanism.  1) In-Proc (By Default) 2) SQL-Server (Out-proc) 3) State-Server (Out-Proc)  ...

Latest Answer : The Abandon method destroys all the objects stored in a Session object and releases their resources.If you do not call the Abandon method explicitly, the server destroys these objects when the session times out.Syntax: Session.Abandon ...

True or False: To test a Web service you must create a windows application or Web application to consume this service?

Can you give an example of when it would be appropriate to use a web service as opposed to a non-serviced .NET component

Can you give an example of what might be best suited to place in the application_Start and Session_Start subroutines?

It is a Framework in which Windows applications may be developed and run.The Microsoft .NET Framework is a platform for building, deploying, and running Web Services and applications. It provides a highly 
Latest Answer : .Net framework is a platform for building, deploying and running web services and other applications. It provides memory management and a rich set of classes.It facilitates integration of code written in several .net languages into one assembly. It provides ...

CLR is .NET equivalent of Java Virtual Machine (JVM). It is the runtime that converts a MSIL code into the host machine language code, which is then executed appropriately.The CLR is the execution 
Latest Answer : Common Language Run-time (CLR):The most important part of the .NET Framework is the .Net Common Language Run-time (CLR) also called .Net Run-time in short. It is a framework layer that resides above the Operating System and handles/manages the execution ...


 Sponsored Links

 
Related Articles

Application Development in .NET

ASP NET 2 0 Tutorials Application development in NET Client Side Application Development Client applications are applications that run on the client system or the desktop of the user They are closest to the traditional windows based applications and they display forms or windows on the desktop enabl
 

N-Tier Application Partitioning

N Tier Application Partitioning Application partitioning is a vital process as it provides one with the opportunity to clearly define an even distribution of an application s presentation process and key data components without which you may find yourself feeling quite lost The components may be dis
 

N-Tier Application Manageability

N Tier Application Manageability While it is a fact that N Tier applications tend to provide almost limitless scalability the desire to change or add new forms of functionality can present a challenge in more than one arena Growth on a large scale can make capacity planning quite hard When available
 

Application Frameworks in SQL Server 2005

The new application framework of SQL called the Service Broker is a distributed application framework that provides relable asynchronous messaging at the database to database level. It allows internal and external processes to exchange streams of reliable asynchronous messages using extensions of T-
 

Rapid Application Development

What is RAD? One of the conveniences of developing software is that it is not a physical tool that can be lost once it gets developed or manufactured. Codes are used to implement the software and it does not disappear together with the product. We can re-use the code all over again in another softw
 

The Interview Snafu

How to turn someone else’s mistake to your advantage Your dream job is about to become reality. A recruiter gave you the heads up about the perfect position at Humungous Conglomerate, Inc. You went through five interviews as well as a battery of psychological tests mandated by their HR de
 

Effective Controls for Attaining Continuous Application Security

Effective Controls for Attaining Continuous Application Security Throughout the Web Application Development Life Cycle Given the choice, every organization would want secure Web sites and applications from the Web application development phase all the way through the software development life cycle.
 

Winning a Job Interview with a Winning Resume

Does your resume unlock your potential, take your skills to the highest level and win you the interview and the job you want now? The job market today is highly competitive and even if you think you have what it takes to get an interview you won’t get over the line without a polished, prof
 

Web Application Vulnerability Assessment Essentials

Your First Step to a Highly Secure Web Site If an organization taking a systematic and proactive approach to web security, and to running a web application vulnerability assessment in particular, then that organization defended against the most rapidly increasing class of attacks. &nb
 

Top 10 Application Security Vulnerabilities in Web.config Files - Part One

These days, the biggest threat to an network security comes from its public Web site and the Web-based applications found there. Unlike internal-only network services such as databases-which can be sealed off from the outside via firewalls-a public Web site is generally accessible to anyone who wan
 

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