Tuesday, October 19, 2004 03:13 AM
Thank You PPL,for your responses,
I tried this method and it seems to be working:
If it is true then it doesn't submit,else it sets the value to true and then submits the form.
Even if the user clicks on 'Back',the value is changed 'true', so the form is not submitted.
Even I think,using database to check is a costly approach.
I wouldn't prefer to use 'Struts' bcoz this feature is for a small part of the module.May be we can consider it if very high level of security,integrity is required.
Setting pragma can be considered,but it is not elegant,as we will have to give a link to the next page,wich is not the result page(dynamic).
So,consider this,let me know if this has any drawbacks(if scriptting is always anabled)