MapInfo Pro

Welcome to the MapInfo Pro community!  Please feel free to start a discussion in the discussion tab or join in a conversation.

Here are some useful links where you can find more information:

Product Announcements  Product Documentation  Ideas Portal

Discussions

Members

Resources

Events

 View Only
  • 1.  Can we keep a login screen for MapInfo?

    Posted 12-18-2017 11:58

    I want to keep a Login screen for MapInfo and it should lock if the user is inactive for more than 5 mins.

    The system should calculate the time that user has spent on Mapinfo excluding the inactive time? Can this be possible with MapInfo?

    One of the big Map data creation organizations asking this kind of mechanism to monitor/calculate the user performance.

    It will be great if MapBasic can support here or .NET customization will work in this prospect. Looking for your valuable suggestions.

    Cheers!



  • 2.  RE: Can we keep a login screen for MapInfo?

    Employee
    Posted 12-18-2017 08:09

    I see two questions here:

    1. Calculate active time
    2. Logout user after inactivity

     

    The first can be calculating by using some of the event handlers in MapBasic to keep track of the time where MapInfo Pro seems to be used.

    The event handler is called for example when the map is updated, when another window gets activated etc. Whenever this happend, record the time it happened. Compare the current time with the previous one. If they are close, the user is continuingly being active.

    If the time before two events gets too big, it could seem that the user has been on a break or at least hasn't used MapInfo Pro some time. Now you can record this a inactive time, record the previous active time period and start a new active time period.

    The second is a bit more tricky as MapInfo Pro needs to respond to inactivity. To me this can only be achieved with a timer, for instance build in .NET and made available to MapBasic via an assembly.

    Everytime the user uses MapInfo Pro, that is an event handler is activated, the timer gets reset, for instance to 5 minutes or 10 minutes.

    If the user get inactive, the timer will call a specific predefined procedure in your application after the set amount of time. This will raise awareness of inactivity and show the "login" screen. At the same time it can close the current active period.

    I hope this makes sense to you



  • 3.  RE: Can we keep a login screen for MapInfo?

    Posted 12-20-2017 03:51

    Hi Peter, Thanks for the details.

    so basically this is all about calculating resources activity in terms of time on Map data creation and create reports out of it using Spectrum Visual Insight.

    I am trying to find some open source application But no luck. I may have to write some .NET code to make this happen.

    Please advice.

    Cheers!



  • 4.  RE: Can we keep a login screen for MapInfo?

    Posted 01-05-2018 05:47

    If you have the same inactivity policy for all applications, would it be better to do this at system level?