Last mage version use session.set event