invalidWebSessionMessage

invalidWebSessionMessage(): String;

The invalidWebSessionMessage method of the Application class returns an HTML string to the web browser when you reimplement this method in the Application subclass in a user-defined schema. For example, sending the following HTML string displays a message on the web browser and provides the user with the option of restarting the application when a session is no longer valid.

<html>
<body>
Your session is no longer valid. Click <a href='http://wilbur1a/jade/jadehttp.dll?NewWeb'>here</a> to restart
</body>
</html>

In this example, you would replace the HREF parameter value with the address of your website.

A null string ("") implements the default behavior; that is, the web browser is refreshed with the application start-up form.

If you override the default behavior by implementing this method in the Application subclass of your user‑defined schema, it is your responsibility to ensure that the returned string is a correctly formatted HTML string.