I need an example to how to find the available sessions and
allow the user to use the the Inactive session if already
other session is opened.
And one more question how can i redirect to a page
where i want to, when the user clicks exit connection.