Invalid SQL: INSERT INTO `swsessions` (`sessionid`, `ipaddress`, `lastactivity`, `useragent`, `isloggedin`, `sessiontype`, `typeid`, `dateline`, `status`) VALUES('4c2a0ef9457fd03c0070907c7dc1ef2f', '54.81.157.56', '1503094218', 'CCBot/2.0 (http://commoncrawl.org/faq/)', '0', '40', '0', '1503094218', '0'); (The table 'swsessions' is full)
Warning: Cannot modify header information - headers already sent by (output started at C:\Inetpub\support.inm.com\includes\functions.php:410) in C:\Inetpub\support.inm.com\includes\functions.php on line 1612
How to handle errors in SecureNet Xtra - Support Center
inm logo
Corporate Website | Contact | Store | Support | Login  
     


Knowledgebase
View categorized listing of all common frequently asked questions.
Downloads
View our categorized library of downloads for all necessary manuals, software, etc.
 Article Options
Support Center » Knowledgebase » INM SecureNet for Authorware » How to handle errors in SecureNet Xtra
Support Page Banner
 How to handle errors in SecureNet Xtra
Product:Platform:Area:Version:
SecureNet Xtra for AuthorwareWindows 1.x

Summary

The SecureNet Xtra method snxNetError(NetID) returns an error code if an error occurs during the request specified by NetID. The descriptions for each error code can be found in the User Manual. However, for your convenience we have developed an Authorware script that you can use to display the text description of an error returned by SecureNet Xtra.

In the sample piece provided, the Error Manager map icon contains a script, GetError Message, that translates the error code returned by SecureNet Xtra and displays the corresponding error description on screen.

Before entering the "GetError Message" calculation icon, the error code must be stored in a variable named theError. Your piece should only enter this icon if theError is not "OK".

You may copy the entire "Error Manager" icon into your own Authorware piece, and transfer control to it whenever the error code returned from a SecureNet Xtra operation is not "OK". Alternatively, you can just copy the code inside the "GetError Message" icon and create your own display icons.

 

Example

-- loop until the request has completed
repeat while (snxNetDone(NetID) = False)
end repeat

--If an error occurs, display the error and retry connection
theError := snxNetError(NetID)
if theError <> "OK" then
     GoTo(IconID@"Error Manager")
end if

NOTE: For an example of how to integrate the Error Manager in your present project, please refer to the First Steps tutorial.

Samples

 Download Error Manager sample for Authorware 4 zipzip

Download Error Manager sample for Authorware 5: zip

Download Error Manager sample for Authorware 6 & 6.5: zip

Download Error Manager sample for Authorware 7: zip



Article Details
Article ID: 57
Created On: 26 Sep 2006 11:04 AM

 This answer was helpful  This answer was not helpful

inm general footer
Services Xtras Go Products Support Gallery Store Download About Us Contact Newsroom