I'm facing a problem which is as follows.
In my button_Click event,
Server.Transfer("~/LeaseOffer/AdSpaceDetails.aspx?Id=" + adRepo.SubmitPost(ad).ToString());
When I'm in the AdSpaceDetails.aspx Page, if I hit refresh, then the records are getting submitted again to the Database.
Even I tried cleanup of the objects like 'ad' and 'adRepo' in the finally block but in vain.
How to avoid this?