Autodesk MapGuide Enterprise Developer
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
session timeout for AIMS2013
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
322 Views, 1 Replies
02-20-2013 08:21 AM
Hi,
when we login Infrastructure Map Server - Site Administrator--> Manager Servers-->Configure Services, we can set session timeout(seconds): 1200. I did a test, set session timeout 60 seconds, then after 60seconds, there's nothing affect for my map dispaly, widgets functions. Can I set somewhere, for example I can close the Map window or Close the Application to match my setting in .NET Global file setting: session timeout, web will log out? Thank you.
Re: session timeout for AIMS2013
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-21-2013 05:21 PM in reply to:
swimming123
You could inject the following javascript into your page
window.setTimeout(<?= $timeout ?> * 1000, function() {
alert("Your session has ended. Goodbye!");
window.close();
});Where $timeout is the value of MgSite.GetSessionTimeout()
- Jackie
