SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 345 | Next

Vittorio Bertocci, Garrett Serack, Caleb Baker

"Understanding Windows CardSpace: An Introduction to the Concepts and Challenges of Digital Identities"

value = card.value;
} catch (e)
{
Alert("error:" + e.number);
}
cardForm.submit();
}

type=??™application/x-informationcard??™
id=??™cardExtension??™/>
method="post"
action="TokenProcessingPage.aspx">
name=??™CardSpaceToken??™
id=??™CardSpaceToken??™/>

onClick=
"SubmitCard(document.cardExtension);"/>

Error Handling
As with all software, sometimes errors occur when using
CardSpace, and the websites should be written to handle them
appropriately.
234 CardSpace Implementation
When an error is returned from CardSpace and a script is not
used, very little error information is returned. The only indication
that an error occurred is that the site gets an empty or null
value, rather than a token. Any information about the type of
error is lost. If the token is null, the site has to hope that the user
was given a relevant error message by the CardSpace application
or that the user simply cancelled out of CardSpace instead
of choosing a card to submit. This approach correctly handles
the majority of errors that a user is likely to hit after a site has
been deployed.


Pages:
333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357