spacer
Yehuda Shiran November 28, 2001
Avoiding Repeated Authentication
Tips: November 2001

Yehuda Shiran, Ph.D.
Doc JavaScript

Developer News
Google Going Native With Chrome
Mozilla Fixes Firefox Flaws as 3.5 Release Nears
Microsoft and Novell Still Bosom Buddies

Some Web applications, especially in the personal and financial information areas, require Secure Sockets Layer (SSL) authentication to verify the identity of the caller. Some user scenarios, such as online stock trading, may require several calls to the Web service.

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.


People who read this tip also read these tips:

Look for similar tips by subject:

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs

webref The latest from WebReference.com Browse >
XML and PHP Simplified · Creating a ASP.NET Contact Form · Data Filtering with PHP
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Intel to Host Live Nehalem Q&A · 12 Tips to Troubleshoot Network File-Sharing · 10 Tips for Selling on Kijiji