ok the situation is a little complicated but i know it can be done just not sure how. <BR>I have an end user complete a page and picking a username and password. That goes through a page where it writes to one table in the database and creates a unique id number. For the write page it redirects to another page where they will continue to fill out information, which is entered into a different table in the database but referenced though the same unique id number. The problem is, how do i get the first write page, to create the unique id number, write it to the database and at the same time pass it to the page itis redirected to??