Infrastructure Map Server Developer

Reply
Valued Contributor
Posts: 82
Registered: ‎04-12-2012
Message 1 of 2 (514 Views)

session timeout for AIMS2013

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

Valued Mentor
Posts: 269
Registered: ‎10-06-2008
Message 2 of 2 (496 Views)

Re: session timeout for AIMS2013

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

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Welcome to the new Autodesk Community!
If this is your first visit, click here to get started and make the most of the Community. Let us know what you think of the new experience in the Community Feedback Forum.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community