I've got the code below. It seems that I all I ever get back is a null response in the OnAuthTestError routine. Is there any better info that is returned? function AuthTest() { var UserId = document.getElementById("txtUserId").innerText var PassWord = document.getElementById("txtPassword").innerText
var authObj = Web.Services.AuthenticationService; authObj.login( UserId, PassWord, OnAuthTestComplete, OnAuthTestTimeOut, OnAuthTestError); } function OnAuthTestComplete(result) { alert("Auth Test Complete. Result: " + result); } function OnAuthTestTimeOut(result)
{ alert("Auth Test TimeOut. Result: " + result); } function OnAuthTestError(result) { if (null == result) { alert("Auth Test Error. Null Result"); } else { alert("Auth Test Error. Result: " + result.get_message()); } } -- Wallace B. McClure "The Harder I Work,
the Luckier I Get." Listen to "The ASP.NET Podcast" at http://www.aspnetpodcast.com/ Database Award: http://url123.com/vc3er Microsoft MVP - Visual Developer ASP/ASP.NET AspInsider "AJAX for ASP.NET" Coming Soon! ADO.NET Book: http://url123.com/vc2bu 865-693-3004
118 Durwood Rd. Knoxville, TN 37922 http://www.scalabledevelopment.com/ Blog: http://weblogs.asp.net/wallym/
Wallym
Contributor
2119 Points
363 Posts
ASPInsiders
MVP
Web.Services.AuthenticationService
Feb 15, 2006 05:21 PM|LINK