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

Difference between abstract factory pattern and factory method pattern in .NET with example.

3 Answers   ACS, IBM, Keane India Ltd,


How Response.flush works in server.Execute

1 Answers  


Explain the difference between array and linkedlist?

1 Answers  


How will you do windows authentication and what is the namespace? If a user is logged under integrated windows authentication mode, but he is still not able to logon, what might be the possible cause for this? In ASP.Net application how do you find the name of the logged in person under windows authentication?

1 Answers  


How .net CLR works with n-tier application

4 Answers   HCL, Hughes,


What is csrf attack in asp.net?

1 Answers  


Explain cashing in asp.net.

1 Answers  


How do we get only edited/deleted/inserted records from a Dataset?

1 Answers   Syntax Softtech,


How can I open ashx file in mobile?

1 Answers  


What’s the difference between Response.Write() andResponse.Output.Write()?

1 Answers  


What is Fragment Caching in ASP.NET?

2 Answers   MCN Solutions, pspl, Wipro,


What is break mode?

1 Answers  


Categories