Hi.
I have solved it, but I do not know if this is the best way.
I have used jquery with window.parent.document to know where the user comes from and if it is different from index.html, then redirect to index.html with the data of the input page using a variable of "Session" and thus achieve that (p1, p2, p3 ...) are inserted in the index.html page simulating a master page.
If there is a better way to do this, please indicate it.
Thank you