<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Ex6-8.aspx.cs" Inherits="Ex6_8" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Ex6-8</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        用户名：<asp:TextBox ID="txtname" runat="server" Width="88px"></asp:TextBox>
        <br />
        密码：<asp:TextBox ID="txtpwd" runat="server" TextMode="Password"></asp:TextBox>
        <br />
        <asp:Button ID="btnsave" runat="server" Text="写入Cookies" 
            onclick="btnsave_Click" />
        <asp:Button ID="btnclear" runat="server" onclick="btnclear_Click" Text="清除Cookie" />
    </div>
    </form>
</body>
</html>
