Create a form called second and add a table, items, with a name column.
Drag the table onto the page as a Table Control.
Attach a Before Page script and paste the following code:
// Get the basket HTTP attribute
var basket = client.httpSession.getAttribute("basket");
// Add the items in the basket to the items table
basket.forEach(function(item) {
tables.items.insertRow();
tables.items.name.value = item;
});