oi Shahzad.Butt!!

client. ?

Crit




------------------------------------
Tuesday, June 10, 2003, 9:52:46 AM, you wrote:

SB> I cant use session scope in my app because of load balancing and stuff.
SB> So need a work around using request scope. Any suggetions???

SB> Shaz

SB> -----Original Message-----
SB> From: Critz [mailto:[EMAIL PROTECTED] 
SB> Sent: 10 June 2003 14:48
SB> To: CF-Talk
SB> Subject: Re: Prevent Refresh


SB> oi Critz!!

SB> whoops.. request scope won't work doh! session will..




SB> ------------------------------------
SB> 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>> 

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

Host with the leader in ColdFusion hosting. 
Voted #1 ColdFusion host by CF Developers. 
Offering shared and dedicated hosting options. 
www.cfxhosting.com/default.cfm?redirect=10481

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to