What is the difference between session state and session
variables ?

Answer Posted / uma

session state specifies ,in which mode does the session
variables should be stored there are three modes
1) inproc:-
specifies sessions variables storing in our application
when application closes ,sessions losses its value.
2) state server:-
Storing the sessions variables in sql server
database, it will be shared among diiferent
applictions,even appliacations is closed value remains.
3)Outproc:-
storing in local system.


session variable is used for storing the data .

Is This Answer Correct ?    11 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I open ashx file in mobile?

626


What are the different types of events are occured when a client requests an ASP.NET page from IIS server?

585


what are the events raised in asp.net page life cycle?in which stage view state can be loaded?

559


What does occur first in ASP.Net, Authentication or Authorization?

566


Is asp.net a programming language?

540






Explain one critical mapping?

568


Which object encapsulates state or data of a user?

632


What are the event handlers that can be included in the Global.asax file?

585


To redirect the user to another page which method do we use without performing a round trip to the client?

539


Differentiate strong typing and weak typing

530


What is postback and autopostback in asp.net?

535


What is the question mark in a url?

527


How do u declare static variable and how it is declared and what is its lifetime?

523


Just by seeing the signature of the bean how can you specify whether it is a stateful or stateless session bean?

557


What are sessions and cookies?

571