# Support session

A support session lets a person of CrushMFT Support see the admin page you are on, live, while you talk about a problem. It shows one browser tab, it is encrypted from your browser to theirs, and it does nothing unless you start it with a code that support gave you.

It is off on a new server.

## What support sees, and what not

- Support sees this browser tab only: not your screen, your other tabs or other programs.
- Passwords and secret fields are hidden from support.
- Support cannot click or type unless you allow control.
- You can end the session at any time.

## Starting one

1. Support gives you a code, by mail or on the phone.
2. Open the admin page you want to show, over **https**. Browsers only allow the encryption a session needs on https pages; over plain http the page tells you to open it over https and try again.
3. Press the **Support session** button of the page, enter the code under "Start a support session", and start.
4. A banner across the page says that the session is running.

| Message | What it means |
|---|---|
| "That code is not valid or has expired. Ask CrushMFT Support for a new one." | codes are short-lived and work once |
| "Too many attempts. Wait a minute and try again." | too many wrong codes |
| "This version of the support session is no longer supported. Update CrushMFT." | the server is too old for the support side |
| a note that the browser cannot reach the support host | the network, or the server's own content security policy, blocks the address of support |

## While it runs

| Part | What it does |
|---|---|
| the banner | shows the state: connecting, connected, "Connection to CrushMFT Support lost. Reconnecting…" |
| **Allow control** | a switch in the banner. Off: support only watches. When support wants to click or type for you, the banner says "Support asks for control", and nothing happens until you tick it. |
| the chat | "Chat with CrushMFT Support": a small window for messages, which can be moved and made small |
| ending | end the session from the banner, or close the tab |

## Turning it on

These are settings of the server, in `prefs.XML`:

| Key | What it does | Default |
|---|---|---|
| `support_session_enabled` | the feature. Off: the button never shows, and the server refuses to start a session. | `false` |
| `support_session_limited_admins` | administrators who are not full administrators may use it too | `false` |
| `support_session_web_users` | every other user who is logged in to the web interface may use it | `false` |
| `support_session_url` | the address of the support host | `https://support.crushftp.com` |

With it on, a full administrator may always use it. While it is on, the server adds the support host to the addresses its pages may connect to.
