The methods defined in the WebSession class are summarized in the following table.
| Method | Description |
|---|---|
| browserType | Returns a string containing the type of Web browser. |
| createVirtualDirectoryFile | Passes image files created by a JADE application to the jadehttp library or JADE mod_jadehttp module. |
| deleteVirtualDirectoryFile | Deletes specified files from the virtual directory used by the jadehttp library. |
| getCurrentLocale | Returns the locale based on information returned from the browser. |
| getHttpParam | Returns the value associated with the specified HTTP parameter. |
| getHttpString | Returns the HTTP string that is returned from the Web browser. |
| getServerVariable | Returns the HyperText Transfer Protocol (HTTP) header information for your Web request from the Web server (that is, Microsoft IIS Server or Apache HTTP Server). |
| getSessionForm | Keeps track of all open instances of the specified form for the current session. |
| getWebSessionCount | Returns the total number of active Web sessions for all nodes connected to the server. |
| isVDFilePresent | Returns whether the requested file is present on the Web server side of the firewall when using the JADE Web interface via the jadehttp library file or the JADE mod_jadehttp module. |
| processRequest | Executed when a request is received from the Web. |
| removeSession | Removes the current Web session. |
| removeSessionWithMessage | Removes the current Web session and sends the specified message. |
| reply | Executed when all processing is complete and the JADE system is ready to send a response back to the Web browser. |
| setCurrentLocale | Switches locales from the locale of the requesting Web browser or default locale. |
| timerEvent | Invoked by the Web session when the session times out. |