Infrastructure Map Server Forum
Welcome to Autodesk’s Infrastructure Map Server Forums. Share your knowledge, ask questions, and explore popular Infrastructure Map Server topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

session timeout for AIMS2013

1 REPLY 1
Reply
Message 1 of 2
swimming123
790 Views, 1 Reply

session timeout for AIMS2013

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.

1 REPLY 1
Message 2 of 2
jackie.ng
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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report