I'm using vbscript and ASP to write info to a database and to create a file. This all works fine, but if I refresh the page all sorts of horrible things happen. I get errors about not being able to insert duplicate primary keys etc....
So my question is how can I prevent users from refreshing my page?
I've tried to send a variable with the url using get, in the hopes that this would allow me to determine if the page had been linked from the correct page. If not then I would know not to run the code that if run more then once would create an error but it seems that if I refresh the page AFTER it has come from the correct page the get info is also refreshed which means that that idea won't work.
Any ideas anyone?