<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SSLSecurityDemo.aspx.cs" Inherits="Security.SSLSecurityDemo" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title>SSLSecurity Example</title>
</head>
<body bgcolor="#9999ff">
<form id="form1" runat="server">
<asp:Label ID="Label1" runat="server" Font-Size="24pt"
Text="SSL Security Demo"></asp:Label>
<br />
<h3>This example demonstrates
setting up a secure SSL connection on a page that needs.
It also redirects to another page
that requires a secure connection
using an
unsecured redirect and a secured redirect.</h3>
<asp:Label ID="lblDisplay" runat="server"
style="z-index: 1; left: 14px; top: 138px; position: absolute"></asp:Label>
<br />
<br />
<br />
<asp:Button ID="btnSecure" runat="server"
style="z-index: 1; left: 15px; position: absolute; top: 178px; height: 28px; width: 195px; right: 677px;"
Text="SSL Secure Connection" OnClick="btnSecure_Click" />
<br />
<asp:Button ID="btnSecurityTransfer" runat="server"
style="z-index: 1; left: 378px; position: absolute; top: 178px; height: 28px; width: 131px"
Text="Secure Transfer" OnClick="btnSecurityTransfer_Click" />
<asp:Button ID="btnNoSecurity" runat="server"
style="z-index: 1; left: 230px; position: absolute; top: 179px; height: 28px; width: 131px"
Text="Unsecure Transfer" OnClick="btnNoSecurity_Click" />
<br />
<br />
</form>
</body>
</html>