I've got a top(main) html frame and small footer html frame. The footer has a text box and 2 submit buttons. The user should enter the URL in the text box in the bottom frame and click on the 1st submit button to open up the page in the top(main) frame. Let's say they start clicking all sorts of links and they want to save their current page's URL into a database. How can I code it so that they can click on the 2nd submit button to save the URL(create a bookmark) of the page they are viewing in the top frame w/ all the hidden variables so they can go RIGHT back to it. So far I can only get it to grab the URL of the page of the bottom frame and w/o any hidden variables by using server vars.