>For some reason, this doesn't seem to help. request.servervariables("http_referer") keeps referring to the same original form, even when you refresh the post form.
>
>>You can check to see if the request.servervariables("http_referer") is the current page. If it is, then the form was posted to itself, if not, it was refreshed.
I guess I don't understand why you have your pages set up like this. My guess is what you probably want to do is to have a seperate .asp page handle the form posts and then redirect the user to another page that displays data or html.
Tim Westmoreland
Software Engineer
Skyline Technologies, Inc.
"Upper classes are a nation's past; the middle class is its future." - Ayn Rand, Russian-born author (1905-1982).