what is session . how it is use ?

Answer Posted / hitesh chandegara

session variables to share information between the pages of
asp.net web application.

usage

initialization of the state

session["variable name"]=initialization;

get the values from the session

label1.text=session["variable name"].tostring();

Is This Answer Correct ?    14 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are sharepoint pages?

494


What is IPostBack? How to use it?

594


Describe the application event handlers in ASP.NET?

544


What is the difference between sealed vs static class?

577


When does a session actually start?

565






What is difference between asp state management and asp.net state management?

568


What is the difference between session and viewstate?

513


Describe the difference between inline and code behind - which is best in?

506


Why do we need Sessions?

578


Should I delete cookies?

493


What is the request flow used for asp.net mvc framework? : asp.net mvc

529


What are the advantages of asp.net mvc framework? : asp.net mvc

539


In which event are the controls fully loaded?

566


What is the use of service provider?

586


Can asp.net work on an nt server?

553