Create a web application having three pages with the following properties: Page1.aspx: This page must contain a
Question:
Create a web application having three pages with the following properties:
Page1.aspx:
This page must contain a button by which value of a shared integer counter can be increased.
Value of the integer counter must be shared among all the users of your web application i.e. if any user increase the counter, the counter value will be increased for all users.
Page2.aspx:
This page must contain a button by user can increase the value of his/her integer counter.
Value of the integer counter must be private for all the users i.e. increment of one user’s counter must not affect another.
Page3.aspx:
Initially on first visit, page must show a time on which it will be expired.
This page must be expired after specific time (after 5 seconds) if user revisited.
User must be displayed “page expired” message.