Pass id and use it on next page in an insert form

Hi I cant figure this one out:

I have page 1 with a form that gets the user info, and on submit inserts into user.table
I use the browser component to get the id and redirect to page2.

Page 2 is another insert, this time in a company.table where I need to also insert the id from page 1.

How can I do this ?? Can anybody help…
Best regards

You can store the ID in a session on server connect success and use it on the next page.

similar use case:

Hi Teodor. In browser component “on success” I cant find anything that says “session”.
Can you point me in the right direction

Have you checked the tutorial i linked to? It’s explained how to add the session manager and how to use it.