what is session ?how sessions are handeled in application?
write the clauses of sql server in their order.

Answer Posted / amruta dash

Session is used for storing the information in Server. We
can store the information in one page and can send to
other pages. we need to assign the value to a sessionid.For
ex: txtphone_Number.Text = Session["PhNo"].ToString();
or Session.Add("PhNo", txtphone_Number.Text);
Session.Remove("PhNo"); for Remove the session value
Session.Abandon(); for clear all/kill the session value
of a form or application.
This have some limitation like if I will refresh the
page the session values will expired. and the default time
is 20 mins, we can increase the time for a session.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain Areas in MVC?

639


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

511


What does mean by a neutral culture?

594


Are there any resources for drop-in replacements for the default css that comes with the ASP.NET Website template?

556


What is viewstate? What does the "enableviewstate” property do? Whay would I want it on or off?

517






How can we prevent browser from caching an aspx page?

525


What is directive in asp net?

537


What is the most appropriate lifetime for a database connection/orm context in an asp.net mvc application? : Asp.Net MVC

530


What is the function of new view engine in asp.net? : asp.net mvc

533


In a Repeater control how one can provide an alternating color scheme ?

558


What’s the difference between asp.net web forms and asp.net mvc?

542


What is the page life cycle in asp.net?

553


What are validators and list some validators of asp.net?

535


Why is mvc better than asp.net?

526


What are the namespace classes used in asp.net mvc? : asp.net mvc

536