I cant use session scope in my app because of load balancing and stuff. So need a work around using request scope. Any suggetions???
Shaz -----Original Message----- From: Critz [mailto:[EMAIL PROTECTED] Sent: 10 June 2003 14:48 To: CF-Talk Subject: Re: Prevent Refresh oi Critz!! whoops.. request scope won't work doh! session will.. ------------------------------------ Tuesday, June 10, 2003, 9:32:55 AM, you wrote: C> oi Shahzad.Butt!! C> on the preceding page... C> <script> C> window.history.forward(); C> </script> C> this will prevent use of the back button... C> on your form page.. for the refresh problem you can do this... C> if not isDefined("request.pageHit") C> ... do page stuff..... C> set request.pageHit = true C> <cfelse> C> page has already been accessed C> </cfif> C> Crit C> ------------------------------------ C> 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>> C> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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 Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4