oi Shahzad.Butt!!
on the preceding page...
<script>
window.history.forward();
</script>
this will prevent use of the back button...
on your form page.. for the refresh problem you can do this...
if not isDefined("request.pageHit")
... do page stuff.....
set request.pageHit = true
<cfelse>
page has already been accessed
</cfif>
Crit
------------------------------------
Tuesday, June 10, 2003, 9:18:17 AM, you wrote:
SB> What is best way of preventing multiple entries in DB through form
SB> submission when user clicks on REFRESH or BACK button of browser?
SB> Thanks
SB> Shaz
SB>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more
resources for the community.
http://www.fusionauthority.com/ads.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4