tags:

views:

29

answers:

2

Hi there..

I have one question. How to change the link after the user has submitted the form? What I mean is that once the user submit the form, the link that direct the user to the FORM will be change to another url which is ViewFormA.asp. How can I do that? Need your advice. Thanks.

A: 

Does this help?

Response.Redirect "/ViewFormA.asp"

Havenard
Thanks..but what if I want to change the link url permanently..the user still can access the FORM page even though they have submitted the form..any idea?
I don't want the user to access the form anymore once they have submitted the form..
So you want to deny user from ever seeing the form again if they've already submmited it, don't matter what they do?
Havenard
A: 

at first, in the beginning of FORM page on the server side you need to check your own special Cookie or Session variable (like Session("AlreadySubmitted")) a) if this variable is exist , it means that the user already submitted the form and must be redirected to an other page. b) if this variable is not exist yet or equal to zero , the user is allowed to fill the FORM and submit the data.

at second, on a page that get submitted data you have to set this variable to 1

Being big one