November 28, 2001 - Avoiding Repeated Authentication
![]() |
November 28, 2001 Avoiding Repeated Authentication Tips: November 2001
Yehuda Shiran, Ph.D.
|
The use of Web services over HTTP is stateless. i.e. it does not have any history. Each remote method call to a Web service is independent of the previous calls, and cannot share any information already sent to the remote service. When each call involves authentication, repeated requests for authentication result in a frustrating and impractical user experience.
The WebService behavior does include SSL authentication data (username and password), but it does not persist this data by default. Instead, the WebService behavior provides the useOptions object, which can be used to keep the authentication information from one call to the next. The useOptions object enables the persistency of the SSL authentication information.


Find a programming school near you