Opened 16 years ago

Closed 14 years ago

#162 closed defect (fixed)

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: Browser: All
External ID: 1154098 Operating System: All
state: Analysis Requested

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 (7)

comment:1 by zspitzer, 16 years ago

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

comment:2 by chrisclaydon, 16 years ago

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

comment:3 by madair, 15 years ago

Milestone: 2.02.1

comment:4 by madair, 15 years ago

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.

comment:5 by chrisclaydon, 15 years ago

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).

comment:6 by madair, 14 years ago

Milestone: 2.12.2

comment:7 by madair, 14 years ago

Resolution: fixed
Status: newclosed

fixed in [2205]

Note: See TracTickets for help on using tickets.