Why is it important to maintain session state?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Why will you usually create an aspnet user account in the database for an asp.net web application?

541


What is the behavior of a Web browser when it receives an invalid element?

630


What is asp.net used for?

603


Can I combine classic asp and asp.net pages?

534


What is full trust in asp.net?

549






How do you secure your connection string information?

523


What is the size of Get method and how much data it can store?

576


What is a viewbag?

510


How to implement globalization and localization in the use interface in .net.

538


Explain about solution explorer window?

626


Do you support digital rights management to protect my videos?

457


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?

553


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

519


Define reflection in .net?

567


What parameters can you pass in the url of the api? Can get and post use the same url?

559