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
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.
Step by Step Solution
3.39 Rating (149 Votes )
There are 3 Steps involved in it
Step: 1
Public Property MyCounter As Integer Get Dim val As Object ViewStateMyCoun...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started