Top 200+ Advanced Asp.Net Interview Questions 2020-2021 - 1
Question: 1
Difference between ASP Session and ASP.NET Session?
Asp.net session supports cookie less session and it can span across multiple servers.
Question: 2
What is the difference between server.transfer and response.redirect?
Transfer, transfers the control of a web page, posting a form data, while Response.Redirect simply redirects a page to another page, it can not post a form data to another page.
Server.Transfer is more efficient over the Response.Redirect, because Response.Redirect causes a round trip to server as the page is processed once again on the client and a request is made to server there after.
Question: 3
What is ViewState?
ViewState is a .Net mechanism to store the posted data among post backs.
ViewState allows the state of objects to be stored in a hidden field on the page, saved on client side and transported back to server whenever required.
Question: 4
What is the lifespan for items stored in ViewState?
Items stored in a ViewState exist for the life of the current page, including the post backs on the same page.
Question: 5
What is cookie less session?
By default, ASP.NET will store the session state in the same process that processes the request, just as ASP does. If cookies are not available, a session can be tracked by adding a session identifier to the URL. This can be enabled by setting the following:
- 200+ Asp.Net Interview Questions
- Asp.Net Interview Questions and Answers
- Asp.Net Interview Questions and Answers Pdf
- Asp.Net Interview Questions and Answers for Experienced
- Asp.Net Interview Questions and Answers for Freshers
- Asp.Net Important Interview Questions with Answers 2020-2021
- Asp.Net Practical Viva Questions and Answers
- Top 200+ Advanced Asp.Net Interview Questions 2020-2021
Signals and Systems MCQ Questions and Answers Pdf More
Electrical Power Sources Quiz Questions & Answers Pdf More
Electromagnetic Field Theory Question Bank 2024-2025 More
Power Semiconductor Device and Integrated Circuits Questions More
Strength of Materials Questions and Answers Pdf More
1000+ IAS General Knowledge Questions and Answers More
Java J2EE Technical Lead Architect Interview Questions More
1000+ General Computer Knowledge Questions for Bank Exams More
10,000+ Engineering Interview Questions and Answers Pdf More
PG TRB Physics Online Test More