A ready-to-use component for easy Mobile Session Management

Automatically translated from English

In a previous blog post, we introduced the concept of Mobile Session Management. A concept that allows you to keep track of users after their initial user request. In this blog post, we’ll provide you with a component to help you easily manage your mobile users.

A component to the rescue

Without further ado, below you’ll the ready-to-use component, as well as the steps to follow to give it a try.

MOBILE SESSION MANAGEMENT COMPONENT

  first: Install the MOBILE SESSION MANAGEMENT component

  • Create a Component folder next to the 4DD file
  • Place the MOBILE SESSION MANAGEMENT component in it
  • Restart 4D
  • In the 4D Methods Explorer, select the MOBILE APP SESSION MANAGEMENT method and click the Execute button
  • A window will appear displaying all sessions per app

 

  second: use the component

The component is pretty intuitive and easy to use:

  • As shown in the screenshot below, the Apps menu allows you to switch between apps (if any)
  • Right-click on an item to reveal the mobile user file or to delete it directly from the component
  • Change and define the Mobile User status for each device: accepted or pending
  • The push button updates the user status in memory
  • The refresh button updates the session list to get the latest updates

 

 

Note: The methods can be called on a remote 4D since they are always executed on server.

Voilà! You’re all set to keep an eye on your mobile sessions, and of course the component is customizable if you need to make any changes! 

David Azancot

• 4D for iOS Product Owner •

David Azancot joined the 4D Product team as a Product Owner in 2017. He's in charge of writing the user stories and translating them into functional specifications. His role also includes making sure that feature implementations meet customers' needs.

David graduated with an MBA in Marketing, Internet and Mobility from the Leonard De Vinci Institute and began his career in 2011 with a mobile start-up company, later acquired by Madvertise (a mobile marketing group). Passionate about mobile interfaces, he was the natural choice to develop interactive mobile ad formats for the group in 2015. In parallel, David has been developing his own iOS and Android applications since 2012.