PrepAway - Latest Free Exam Questions & Answers

Which data store should you use?

You are designing a distributed application.
The application must store secure information that is specific to an individual user. The data must be
automatically purged when the user logs off.
You need to save transient information in a secure data store.
Which data store should you use?

PrepAway - Latest Free Exam Questions & Answers

A.
Session state

B.
Database storage

C.
Profile properties

D.
Application state

Explanation:
ASP.NET session state enables you to store and retrieve values for a user as the user navigates ASP.NET
pages in a Web application. HTTP is a stateless protocol. This means that a Web server treats each HTTP
request for a page as an independent request. The server retains no knowledge of variable values that were
used during previous requests. ASP.NET session state identifies requests from the same browser during a
limited time window as a session, and provides a way to persist variable values for the duration of that session.
https://msdn.microsoft.com/en-us/library/ms178581.aspx

2 Comments on “Which data store should you use?


Leave a Reply