Question:You are developing a Web application.
When a user logs on to the Web site, the application queries a Microsoft SQL Server database for current orders associated with that user.
You need to store the query results so that pages in the site can access the original result set only until the user logs out.
What should you do? (More than one answer choice may achieve the goal. Select the BEST answer.)

 

A Pass the object from page to page by using a HiddenField control on each page. 

B Cache the object and expire the cache when the user logs out. 

C Store the query result in a Session variable 

D Store the query result in an Application variable. 

+ Answer
+ Report
Total Preview: 1557

Copyright © 2024. Powered by Intellect Software Ltd