Ticket #162 (closed defect: fixed)

Opened 3 years ago

Last modified 18 months ago

Fusion continues to ping MG to try to keep the session alive even after the session is gone

Reported by: chrisclaydon Owned by: madair
Priority: P3 Milestone: 2.2
Component: Widgets Version: SVN
Severity: Major Keywords:
Cc: External ID: 1154098
state: Analysis Requested Browser: All
Operating System: All

Description

Create an MG Fusion layout, open it in a browser, and either let it sit long enough, or re-start the MG server.

Fusion has a session keep-alive function that pings the MG server periodically. However, it continues to do this indefinitely, even if the session is no longer valid, and fills up the MG server error log with "Session has expired or is invalid" errors.

Change History

Changed 3 years ago by zspitzer

I don't think there isn't an easy way to determine if a mapguide session is valid

 http://trac.osgeo.org/mapguide/ticket/529

Changed 3 years ago by chrisclaydon

It should be possible to use the new RESOURCEEXISTS request to check the existence of the session-resident map resource.

Changed 2 years ago by madair

  • milestone changed from 2.0 to 2.1

Changed 2 years ago by madair

still an issue? I left a web layout open overnight and in the morning the app still worked fine. Restarting the MG service after that did cause the app to hang but that seems like an expected failure mode if the server goes down.

Changed 2 years ago by chrisclaydon

This is still an issue. If you need to re-start the server for some reason, any open fusion viewers will fill up the error log with session expired messages.

We need to examine the response to the ping request, and if the session is no longer valid, stop pinging until Fusion establishes a new session (presumably through a browser refresh).

Changed 19 months ago by madair

  • milestone changed from 2.1 to 2.2

Changed 18 months ago by madair

  • status changed from new to closed
  • resolution set to fixed

fixed in [2205]

Note: See TracTickets for help on using tickets.