Ticket #1026 (closed defect: fixed)
Prevent session timeout, and give better error messages (RFC 66)
| Reported by: | CXYS | Owned by: | Tom Fukushima |
|---|---|---|---|
| Priority: | medium | Milestone: | 2.2 |
| Component: | General | Version: | 2.0.2 |
| Severity: | major | Keywords: | |
| Cc: | Christine Bao | External ID: |
Description
Customer reports that if leave the browser open for some while without any operation, the session will timeout and can’t get informed. If server is down the error message is not easy to read and user can’t figure out what happens.
The use cases would be:
1. If the Http session is timeout, the user should be informed about the fact instead of getting some script errors or meaningless error messages.
2. If the MapGuide Server session is timeout, the user should be informed about the fact instead of getting some script errors or some meaningless error messages.
3. If the connection to MapGuide Server is broken, the user should be informed by a friendly message which helps the user know what's happening instead of getting a kind of "exception stack trace" message box.
The possible solutions could be:
1. To avoid timeout (either from browser to web tier, or from web tier to MapGuide server), implement a script which pings the servers periodically to keep the both sessions alive.
2. Refine the code handling the exceptions like "connection broken" to provide more friendly messages.
For the detail implementation please see RFC 66.

