Why is it important to maintain session state?



Why is it important to maintain session state? ..

Answer / raghumadhav tirunagari

In addition ASP.NET allows session state to be preserved
even if the user has cookies disabled or if the Web
application is hosted by several different servers. In
classic ASP either scenario would prevent session variables
from maintaining state. An example of a session variable is
one that contains a user Id and password. The user cannot
access any page in the site if he/she is not logged in.
Before the page is rendered, the user ID and password are
accessed through the session variable and checked to ensure
that the values are legitimate.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

What is preprocessor in .net?

0 Answers  


I have a textbox , assign required field validator and i have two buttons 1) save 2) cancel , i want the validator run only when i click save button, don't validate cancel button , what to do?

7 Answers   eMids, Infotech, Integra, TCS, Wipro,


Explain current thinking around IClonable.

1 Answers   Infosys, Wipro,


What are the disadvantages of using session?

0 Answers  


What is the viewstate in asp.net?

0 Answers  






Explain how cookies work. Give an example of cookie abuse.

0 Answers  


How to find last error which occurred?

0 Answers  


What is the use of location tag in web.config file

2 Answers   Karur Vysya Bank KVB,


How many web.config files can I have in an application?

0 Answers  


Explain the various authentication mechanisms in asp.net.

0 Answers  


Explain the difference between asp and asp.net?

0 Answers  


What is difference between asp state management and asp.net state management?

0 Answers  


Categories