This Web API example demonstrates maintaining the number of times a button was clicked using a Session in the Web API. The Web API must be configured to handle Sessions (see the lecture slides for more information regarding how to configure your Web API).

Click the button...