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

What are cao and sao.

548


What is the purpose of url encoding?

495


Where do we store our connection string in asp.net application?

526


What is a viewstate?

567


Is it true that a Web service must be written in .NET or not?

577






What is session and cookies in asp.net?

552


What are the Types of objects in ASP

580


how to debug web services on consumer side?

575


What is the default authentication mode for asp.net?

562


Why would anyone need to implement their own hashtable or linked list?

2437


How to make paging concepts in datagrid in ASP.NET?

550


How do we implement bundling in MVC?

588


What is protected configuration?

601


What is a gridview in asp.net?

525


Where is the view state data stored in asp net?

558