Chapter: Internet & World Wide Web HOW TO PROGRAM - Rich Internet Application Server Technologies - Web Services

Study Material, Lecturing Notes, Assignment, Reference, Wiki description explanation, brief detail

Session Tracking in Web Services

Now we’ll incorporate session tracking into a web service. Suppose a client application needs to call several meth-ods from the same web service, possibly several times each.

Session Tracking in Web Services

Previous Section  described the advantages of using session tracking to maintain client state in-formation so you can personalize the users’ browsing experiences. Now we’ll incorporate session tracking into a web service. Suppose a client application needs to call several meth-ods from the same web service, possibly several times each. In such a case, it can be bene-ficial for the web service to maintain state information for the client, thus eliminating the need for client information to be passed between the client and the web service multiple times. For example, a web service that provides local restaurant reviews could store the cli-ent user’s street address during the initial request, then use it to return personalized, local-ized results in subsequent requests. Storing session information also enables a web service to distinguish between clients.

 

Study Material, Lecturing Notes, Assignment, Reference, Wiki description explanation, brief detail


Copyright © 2018-2020 BrainKart.com; All Rights Reserved. Developed by Therithal info, Chennai.