Tag Archives: viewstate

ASP.NET Interview questions: – What is the difference between session and view state?

Below are three important differences between session and viewstate. ViewState Session Data storage location Browser Hidden fields On Server Accessible In the same page. Across pages Uses cookies No(NA) Yes, If cookies disabled will use URL Query string. In case … Continue reading

Posted in .NET and C# training, Asp.Net Interview Questions, Csharp interview questions, programming interview questions, session, view state | Tagged , , , , , | 1 Comment

ASP.NET Interview questions: – Explain use of session and viewstate in ASP.NET?

HTTP is a stateless protocol , session and viewstate help you to maintain states between request and response. For more information see the below video. Click for more ASP.NET Interview questions Regards, Visit for more authors’ blog on ASP.NET Interview … Continue reading

Posted in .Net Interview Questions, ASP.NET, Asp.Net Interview Questions, ASP.NET training, Csharp interview questions, programming interview questions, session, viewstate | Tagged , , , , , , , | Leave a comment

.NET/ASP.NET Interview Question – Can you explain ViewState?

Answer: ViewState is a state management technique build in ASP.NET. ViewState basically maintains the state of the pages between postbacks. ViewState maintain the session within the same page. ViewState allows the state of objects to be stored in a hidden … Continue reading

Posted in .NET and C# training, .Net Interview Questions, ASP.NET, ASP.NET interview question, C# interview questions, Csharp interview questions, programming interview questions, viewstate | Tagged , , , , , , | Leave a comment

.NET/ASP.NET Interview Question -Major difference between SessionState and ViewState?

Answer: SessionState and ViewState are used to store data value when an respective postback occurs. SessionState is used to store Value till the user end’s the session. ViewState is used to store Value for the current page only and when … Continue reading

Posted in .NET and C# training, .Net Interview Questions, Asp.Net Interview Questions, Csharp interview questions, programming interview questions, SessionState, viewstate | Tagged , , , , , , | Leave a comment