Use session.getsel() to get user selected content.