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
Explain Areas in MVC?
How do u declare static variable and how it is declared and what is its lifetime?
What does mean by a neutral culture?
Are there any resources for drop-in replacements for the default css that comes with the ASP.NET Website template?
What is viewstate? What does the "enableviewstate” property do? Whay would I want it on or off?
How can we prevent browser from caching an aspx page?
What is directive in asp net?
What is the most appropriate lifetime for a database connection/orm context in an asp.net mvc application? : Asp.Net MVC
What is the function of new view engine in asp.net? : asp.net mvc
In a Repeater control how one can provide an alternating color scheme ?
What’s the difference between asp.net web forms and asp.net mvc?
What is the page life cycle in asp.net?
What are validators and list some validators of asp.net?
Why is mvc better than asp.net?
What are the namespace classes used in asp.net mvc? : asp.net mvc