Run code on session timeout due to inactivity

A user’s session is terminated after 30 minutes of inactivity. Can I run code when the session expires like this? Specifically what I want is to time the user out and prompt them to log back in.

Hi there!

Could you specify your question a little bit more? Are you talking about a website/mobile app? What do you want exactly to happen after the session expires? Does the user automatically log out after 30 minutes of activity?

Hello again! I reached the solution through means other than Piwik Pro so this topic could be considered closed.