Set the input as cookie to transfer between the main page and the i-frame