MapTools.org

[Chameleon-dev] [Bug 171] New: enhancement: popup manager when session expires

bugzilla-daemon@www.maptools.org bugzilla-daemon@www.maptools.org
Wed, 24 Dec 2003 04:25:23 -0500
http://www.maptools.org/bugzilla/show_bug.cgi?id=171

           Summary: enhancement: popup manager when session expires
           Product: Chameleon
           Version: 1.1
          Platform: PC
        OS/Version: Windows 2000
            Status: NEW
          Severity: trivial
          Priority: P5
         Component: Widget
        AssignedTo: chameleon-dev@lists.maptools.org
        ReportedBy: bartvde@xs4all.nl


Bart,
 
this is not something that is very easy to handle which is why we have avoided 
it.
 
One suggestion ... in your application template, you could write a custom piece 
of javascript that starts a timer for, say, 29 minutes and closes open popups 
if it expires.  The only problem then is that there is no central place where 
popups window handles are registered.  There may be some hooks in javascript to 
determine the handles of windows opened via window.open ... you may also be 
able to close them by window name (in the window.open call, a window is 
assigned a unique name) and then search the source of your page 
for all the window names (by looking for window.open calls)
 
Cheers,
 
Paul
 
PS  this would be a nice addition to chameleon at some point, to have all open 
windows go through a popup manager that keeps all the window handles and 
manages the callback mechanism, and also handles session expiry automagically.  
It won't be in the next version though.
 
bartvde@xs4all.nl wrote:
 
Hi list,
 we have noticed some strange behaviour (lots of error messages) in
Chameleon when a session has expired and popup windows are still open.
 Is there a way to close all popups when a session expires to prevent this
behaviour, or can't anything be done about this and is it the
responsibility of the user?
 Best regards,
Bart



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


This archive was generated by Pipermail.