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
What are the differences between the response.write() and response.output.write()?
Give a few examples of page life cycle events.
What is the difference between GridView and Repeater controls in ASP.NET?
Do gac'ed assemblies have fulltrust?
What is application in asp net?
What is the difference between asp.net and mvc?
Explain cookies with example.
What is redirectpermanent in asp.net?
Which object is used to encapsulate the state of the client and the browser in ASP.NET?
How can you dynamically add user controls to a page?
Explain an object, class and method.
What is the default timeout for a cookie?
What is Bundling and Minification in MVC?
Explain what are delegates?
What is the syntax for datagrid and specifying columns?