Skip Headers

Oracle® Application Server Forms Services Deployment Guide 10g Release 2 (10.1.2) B14032-03 |
| Library | Product | Contents | Index

Previous | Next |

# 4.5 Managing User Sessions

Oracle Application Server Forms Services contains features to help administrators manage user sessions, including:

- Section 4.5.1, "Allowing New Users Sessions"

- Section 4.5.2, "Disabling New User Sessions"

- Section 4.5.3, "Terminating a User Session on a Forms Services Instance"

## 4.5.1 Allowing New Users Sessions

By default, users can create a new Forms session, which is indicated by the green traffic light. You can also enable users to create Forms sessions after you've disabled them.

To allow new Forms User sessions:

- From the Enterprise Manager Oracle Application Server Forms Services Overview page, click Enable (default).

  The traffic light changes to green

## 4.5.2 Disabling New User Sessions

To disable new user Forms user sessions:

- From the Enterprise Manager Oracle Application Server Forms Services Overview page, click Disable.

  The traffic light changes to yellow.

When you press Disable, a new parameter is added to the default section of the formsweb.cfg file. The parameter is called `allowNewConnections` and pressing Disable sets it to `false`. When new user sessions are disabled, attempted connections will be directed to a URL identified by the formsweb.cfg parameter `connectionDisallowedURL` (default section) e.g:

    connectionDisallowedURL=www.oracle.com
    connectionDisallowedURL=http://www.oracle.com

If no `connectionDisallowedURL` is specified then the following message will be displayed in the browser:

    The Forms Servlet will not allow new connections. Please contact your System Administrator.

However, when you disable new user sessions, existing forms sessions are unaffected and the OC4J instance remains up.

## 4.5.3 Terminating a User Session on a Forms Services Instance

1. Start the Oracle Enterprise Manager 10g Application Server Control Console.

2. Select the link to the Forms Services instance that has the user session to be terminated.

3. From the Overview page for the Forms Services instance, select the Session Details link.

4. Click the radio button next to the user session to be deleted.

5. Click Stop.

6. The Confirmation page appears.

7. Click Yes.

   The user session is deleted and the Runform instance is terminated.