13.04.2013 Views

Digipass Plug-In for SBR Administrator Reference - Vasco

Digipass Plug-In for SBR Administrator Reference - Vasco

Digipass Plug-In for SBR Administrator Reference - Vasco

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Digipass</strong> <strong>Plug</strong>-<strong>In</strong> <strong>for</strong> <strong>SBR</strong> <strong>Administrator</strong> <strong>Reference</strong> Web Sites<br />

9.5 Query String Variables<br />

The query string variables that are passed to the web pages by the CGI program are mainly<br />

concerned with status and error reporting. There is also a variable that is used to pass a<br />

challenge to the pages that display one.<br />

9.5.1 Failure/Error Handling<br />

There are three main groups of failures that can occur, which should be handled in a different<br />

manner. <strong>In</strong> all cases there is a numeric error code, however in some cases there is an auxiliary<br />

code and message such as the return code and message from the VACMAN Controller. The<br />

main error codes will be assigned in three separate ranges, so that the web pages can identify<br />

which category of error is returned.<br />

API return codes – these are returned by the VASCO API used to make the<br />

authentication request to the Server. <strong>In</strong> some cases there will be an auxiliary code and<br />

message.<br />

CGI errors – these errors are detected by the CGI program, mainly when the web pages<br />

are not providing or en<strong>for</strong>cing the posted <strong>for</strong>m fields correctly. These will not generally<br />

have an auxiliary code and message, but it is possible.<br />

<strong>In</strong>ternal errors – these are technical errors that ‘should not occur’. <strong>In</strong> some cases there<br />

will be an auxiliary code and message.<br />

The intention of using this code-based scheme is to allow translation and customization of the<br />

messages. The main error code will be translated into a message by the web pages<br />

themselves. The pages can also translate the auxiliary code into a message, <strong>for</strong> the VACMAN<br />

Controller codes, but normally, the pages would not know how to translate it into a message,<br />

and should display the auxiliary message as provided.<br />

© 2006 VASCO Data Security <strong>In</strong>c. 110

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!