diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2009-01-31 21:32:01 -0800 |
---|---|---|
committer | Andrew <andrewarnott@gmail.com> | 2009-01-31 21:32:01 -0800 |
commit | e865ec7da293496d6c2e67039b86c4ef9ded5a6c (patch) | |
tree | 116d6a4e8c0892d2be13acd31bacae004de4bb8b /samples/RelyingPartyWebForms/TracePage.aspx.cs | |
parent | f6d5493a42d07389421763c2f1da35b4ca7d9f45 (diff) | |
download | DotNetOpenAuth-e865ec7da293496d6c2e67039b86c4ef9ded5a6c.zip DotNetOpenAuth-e865ec7da293496d6c2e67039b86c4ef9ded5a6c.tar.gz DotNetOpenAuth-e865ec7da293496d6c2e67039b86c4ef9ded5a6c.tar.bz2 |
Added OpenID sample sites: RP MVC, RP WebForms, RP Classic ASP, OP WebForms.
Diffstat (limited to 'samples/RelyingPartyWebForms/TracePage.aspx.cs')
-rw-r--r-- | samples/RelyingPartyWebForms/TracePage.aspx.cs | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/samples/RelyingPartyWebForms/TracePage.aspx.cs b/samples/RelyingPartyWebForms/TracePage.aspx.cs new file mode 100644 index 0000000..799e99a --- /dev/null +++ b/samples/RelyingPartyWebForms/TracePage.aspx.cs @@ -0,0 +1,20 @@ +namespace RelyingPartyWebForms { + using System; + using System.Collections.Generic; + using System.Web; + using System.Web.UI; + using System.Web.UI.WebControls; + + public partial class TracePage : System.Web.UI.Page { + protected void Page_Load(object sender, EventArgs e) { + this.placeHolder1.Controls.Add(new Label { Text = Global.LogMessages.ToString() }); + } + + protected void clearLogButton_Click(object sender, EventArgs e) { + Global.LogMessages.Length = 0; + + // clear the page immediately, and allow for F5 without a Postback warning. + this.Response.Redirect(this.Request.Url.AbsoluteUri); + } + } +} |