What is the difference between session state and session
variables ?

Answers were Sorted based on User's Feedback



What is the difference between session state and session variables ?..

Answer / 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

What is the difference between session state and session variables ?..

Answer / shiva

Session state is used to store session specific information
for a website.

session variable store infomation between http request for
a particular user.

Is This Answer Correct ?    17 Yes 15 No

What is the difference between session state and session variables ?..

Answer / mansur

Please describe it briefly with Perfect Examples.

Is This Answer Correct ?    12 Yes 12 No

What is the difference between session state and session variables ?..

Answer / rammohan chowdary bandi

session variable can be store values like session('Mohan')=ramu;

session state can be stored user specific data

Is This Answer Correct ?    4 Yes 7 No

What is the difference between session state and session variables ?..

Answer / rajendra

In ASP.NET there are following session mode available,

•InProc

•StateServer

•SQLServer

•Custom

Session State Mode State Provider
InProc :- In-Memory Object
StateServer :- Aspnet_state.exe
SQLServer :- DataBase
Custom :- CustomProvider

Is This Answer Correct ?    4 Yes 8 No

What is the difference between session state and session variables ?..

Answer / reema

session state is for session and session variable for a
particular user

Is This Answer Correct ?    1 Yes 6 No

Post New Answer

More ASP.NET Interview Questions

What is session start?

0 Answers  


What are ASHX files?

0 Answers   HCL,


What is the difference between union and join?

0 Answers  


What is the name of the process the browser uses to find the address of a web server? a) DMZ b) DNS c) Active Directory d) Database lookup

1 Answers   Syntax Softtech,


what is roles in asp.net

2 Answers  






what is a virtual class?

1 Answers   Patni,


Explain what is viewstate?

0 Answers  


Explain the purpose of storyboard.targetproperty.

0 Answers  


How can you implement encapsulation in asp.net?

6 Answers   TCS,


What is difference between cache and session?

0 Answers  


You create an assembly to access data in a relational database. This assembly will be used by several ASP.NET applications on your Web server. You need to ensure that all your applications can access the assembly. Which two actions should you take (Each Answer: presents part of the solution.)? (Choose two) A . Run the Assembly Registration tool (Regasm.exe). B . Run the String Name tool (Sn.exe). C . Run the Installer tool (Intallutil.exe). D . Run the Global Assembly Cache tool (Gacutil.exe).

6 Answers   CPCL, Syntax Softtech,


By default what is the Asp.Net application login context on IIS 5.0? By default the ASP.Net app runs in the context of a local user ASPNet on IIS version 5. On IIS version 6 on windows 2003 it is called Network service

0 Answers  


Categories