Hi,<BR><BR>I have an Insert code on my page. I am doing paging on that page as well. On the 'Next' button click it loads this same page again. The problem is I don't want to run the Insert again. How would I put a condition on this page to say only run the Insert code if coming from a certain page? I have two pages Page1.asp and Page2.asp. I want to run the Insert on Page2.asp only if I'm coming from Page1.asp. Is there an example?<BR><BR>Thanks!<BR><BR>Siya.