|
|||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||
|
Announcements
Want a new Job?
Chapters
Services
Feature Zones
|
Introduction
BackgroundBasically, this is a .NET implementation of the SynchronizerToken pattern which has been used in the Java world for years (refer to Core J2EE Patterns). Using the codeIt is pretty easy to use:
// Default message will be shown when duplicated
// submission happened if no RedirectURL property set.
//[OneSubmitOnly]
// Request will be redirected to ErrorPaga.aspx
// when duplicated submission happened.
[OneSubmitOnly(RedirectURL = "~/ErrorPage.aspx")]
public class WebForm1 : Synchronizer
{
.......
}
Points of Interest
History
|
||||||||||||||||||||||||||||||||||||||||||||