Author: Bobby-Z | Posted on: 12/22/2009 4:38:32 AM | Views : 1102

I have a problem I need help with
I have a coupon print page that records the amount and data to a table, retrieves the Identity as the CouponID #, and then displays it onto the Coupon so the log displays who printed the coupon and for what amount.
I also record if and when the coupon was redeemed. This preventa someone from using the same coupon twice.
However on the Print Coupon page, If a person hits the refresh button, it records another line and prints another coupon for the same amount but adds another line and CouponID
(I could describe the problem Like a Website Page Counter that displays # of Visitors and each time the browser is refreshed adds 1 - So I could refresh 30 times and add 30 visits to that page)
I have tried (!Page.IsPostBack) but that doesn't work.
How can you stop a refresh, or if the page is refreshed it displays the same info
(I guess if there is no way to do that, i could always record t ...

Go to the complete details ...