GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Microsoft  >  ASP.NET
Go To First  |  Previous Question  |  Next Question 
 ASP.NET  |  Question 125 of 164    Print  
What are the Session Management Techniques?

  
Total Answers and Comments: 2 Last Update: September 10, 2009     Asked by: Nagabhushanam 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
July 10, 2007 00:35:10   #1  
Ron        

RE: What are the Session Management Techniques?
1. In-Proc: the default provider.
2. Session Service: ASPNET_Session service. a diff service runs outside IIS's service. pros: in case of app recycle - the session remains the same; helpful when it's a web garden. cons: cross process communication (performance)
3. Sql session provider: single point for sessions. remains on disk. pros: a web farm solution; survives power failure; cons: performance (disk i/o).
4. custom: build your own provider :-)

 
Is this answer useful? Yes | NoAnswer is useful 0   Answer is not useful 1Overall Rating: -1    
September 10, 2009 06:29:36   #2  
kirangiet Member Since: June 2009   Contribution: 24    

RE: What are the Session Management Techniques?
Session Management can be achieved in two ways

1)InProc
2)OutProc

OutProc is again two types
1)State Server
2)SQL Server


InProc
Adv.:
1) Faster as session resides in the same process as the application
2) No need to serialize the data

DisAdv.:
1) Will degrade the performance of the application if large chunk of data is stored
2) On restart of IIS all the Session info will be lost


State Server
Adv.:
1) Faster then SQL Server session management
2) Safer then InProc. As IIS restart
won't effect the session data


DisAdv.:
1) Data need to be serialized
2) On restart of ASP.NET State Service session info will be lost
3)Slower as compared to InProc


SQL Server
Adv.:
1) Reliable and Durable
2) IIS and ASP.NET State Service
restart won't effect the session data
3) Good place for storing large chunk of data


DisAdv.:
1) Data need to be serialized
2) Slower as compare to InProc and State Server
3)Need to purchase Licensed
version of SQL Server



 
Is this answer useful? Yes | No

 Related Questions

The .NET Framework has two main components: the common language runtime and the .NET Framework class library.You can think of the runtime as an agent that manages code at execution time, providing core 
Latest Answer : .NET framework consists of 1) CLR 2) Class library 3) ASP.Net CLR (Common Language Runtime): The name itself gives you an idea what CLR is. RUNTIME can be described as a reduced version of a program.  It enables you to Execute the program ...
Read Answers (2) | Asked by : rajani

What is the difference between Session and Cookies. Can we use both in the same webpage. when we should go for cookies.. What are the advantages and disadvantages of both.. Plz send me code also..Thanks in advance..Ravi
Read Answers (2) | Asked by : aspnet

Latest Answer : The 'Location' attribute of the @OutputCache element specifies the location where the cache should be created. Following are the options for saving ASP.Net cache:1. Any2. Client3. Server4. Downstream5. NoneThe session data location is controlled ...
Read Answers (2) | Asked by : laxman

ViewState in ASP.NET IntroductionMicrosoft ASP.NET Web Forms pages are capable of maintaining their own state across multiple client round trips. When a property is set for a control, the ASP.NET saves 
Latest Answer : Session variables are maintained for particular session like for particular user only, so any user related information has to be saved in session variable.  While application variables are maintained for whole application. Whole application related ...
Read Answers (2) | Asked by : Shiv

Latest Answer : yes it is possible because we were having the Server.Transfer() where it will transefer the request to other page. ...

Latest Answer : Application state is global to the application regardless of the number of application instances. All instances share the same application state variables. Each instance has its own session variables. They are stored at the server end. One use of session ...
Read Answers (6) | Asked by : lakshminarayanan

Latest Answer : By default HTTP is a stale less protocol. It means it considers each request as a new request. Solution for this problem is state management. State Management is a technique used to maintain the state of between HTTP Request and Response. There ...

Latest Answer : Session Management can be achieved in two ways1)InProc2)OutProcOutProc is again two types1)State Server2)SQL Server InProcAdv.:1) Faster as session resides in the same process as the application2) No need to serialize the dataDisAdv.:1) Will degrade ...
Read Answers (2) | Asked by : Nagabhushanam

Latest Answer : Cookie Information will be stored in a txt file on client system under a folder named Cookies. Search for it in your system you will find it. Coming to Session State As we know for every process some default space will be allocated by OS. In case ...
Read Answers (2) | Asked by : S S REDDY

Which is the best session management system in ASP.Net - viewstate, cookies, application, Urlencoding? Justify
Read Answers (2) | Asked by : Nagaraju


 Sponsored Links

 
Related Articles

Business Performance Management

Business Performance Management What is Business Performance Management Business Performance Management is most commonly described as a set of processes that help companies or organizations optimize their business performance It is specifically designed to organize automate and analyze business meth
 

ODP.NET - Techniques to Improve Performance while Retrieving Data

ODP NET Techniques to Improve Performance while Retrieving Data Performance tuning is a great subject in Oracle Volumes of books would not be enough to cover every aspect of performance tuning in Oracle However in this section we will only discuss the fundamental performance techniques while working
 

Network Management

Network Management Network management is the method of managing the tools that belong to a network and maintaining administering all the systems that are connected in the network For one to be able to efficiently manage a network that person should be a qualified network administrator and should hav
 

ERP for Cash Management

ERP for Cash Management Cash management is a fundamental application that allows you to manage your accounts It includes banks savings institutions and charge cards All the appropriate functions are conveniently centralized in one location The application provides facilities for accounting staff to
 

Knowledge Management in Business Networks

What is Knowledge Management KM The basic definition of knowledge management from the business perspective states that it is the vital set of methods that manage the conception distribution and exploitation of knowledge In today’ s Information Age era with the technological advancements in
 

C++ Memory Management operators

C Memory Management operators Need for Memory Management operators The concept of arrays has a block of memory reserved The disadvantage with the concept of arrays is that the programmer must know while programming the size of memory to be allocated in addition to the array size remaining constant m
 

SOA and Network Management Architecture

SOA and Network Management Architecture In recent years the field of Network Management has been absorbing the principles of Service Oriented Architecture Examples of service oriented Network Management architectures include the TS 188 001 NGN Management OSS Architecture from ETSA as well as the mor
 

ERPAdvantages for Management Functions

ERP Advantages for Management Functions ERP management systems provide a technology platform in which organizations can integrate and coordinate their main internal business processes They use this to fight against the problem of the organizational inefficiency brought on by the use of different sys
 

Supply Chain Management Skills

Supply Chain Management Skills Do you have what it takes to be a Supply Chain Manager Once upon a time the phrase managing a supply chain” meant making sure that your warehouse was adequately stocked and that nobody was goofing off in the back Times have definitely changed Today to manag
 

Which Supply Chain Management Software is Right for your Business?

Which Supply Chain Management Software is Right for your Business If you’ re a Business Leader Supply Chain Manager or Logistics Executive you’ re probably all too aware of the fact that there’ s an abundance of Supply Chain Management SCM software products available on
 

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