-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deploying web application project sample.
- Loading branch information
Robby Tarigan
committed
Dec 17, 2011
1 parent
48ceb6b
commit fe6dfdb
Showing
31 changed files
with
15,934 additions
and
0 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
70-515/DeployingWebApplicationContainer/DeployingWebApplication/About.aspx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<%@ Page Title="About Us" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" | ||
CodeFile="About.aspx.cs" Inherits="About" %> | ||
|
||
<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent"> | ||
</asp:Content> | ||
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent"> | ||
<h2> | ||
About | ||
</h2> | ||
<p> | ||
Put content here. | ||
</p> | ||
</asp:Content> |
14 changes: 14 additions & 0 deletions
14
70-515/DeployingWebApplicationContainer/DeployingWebApplication/About.aspx.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Web; | ||
using System.Web.UI; | ||
using System.Web.UI.WebControls; | ||
|
||
public partial class About : System.Web.UI.Page | ||
{ | ||
protected void Page_Load(object sender, EventArgs e) | ||
{ | ||
|
||
} | ||
} |
60 changes: 60 additions & 0 deletions
60
70-515/DeployingWebApplicationContainer/DeployingWebApplication/Account/ChangePassword.aspx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
<%@ Page Title="Change Password" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" | ||
CodeFile="ChangePassword.aspx.cs" Inherits="Account_ChangePassword" %> | ||
|
||
<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent"> | ||
</asp:Content> | ||
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent"> | ||
<h2> | ||
Change Password | ||
</h2> | ||
<p> | ||
Use the form below to change your password. | ||
</p> | ||
<p> | ||
New passwords are required to be a minimum of <%= Membership.MinRequiredPasswordLength %> characters in length. | ||
</p> | ||
<asp:ChangePassword ID="ChangeUserPassword" runat="server" CancelDestinationPageUrl="~/" EnableViewState="false" RenderOuterTable="false" | ||
SuccessPageUrl="ChangePasswordSuccess.aspx"> | ||
<ChangePasswordTemplate> | ||
<span class="failureNotification"> | ||
<asp:Literal ID="FailureText" runat="server"></asp:Literal> | ||
</span> | ||
<asp:ValidationSummary ID="ChangeUserPasswordValidationSummary" runat="server" CssClass="failureNotification" | ||
ValidationGroup="ChangeUserPasswordValidationGroup"/> | ||
<div class="accountInfo"> | ||
<fieldset class="changePassword"> | ||
<legend>Account Information</legend> | ||
<p> | ||
<asp:Label ID="CurrentPasswordLabel" runat="server" AssociatedControlID="CurrentPassword">Old Password:</asp:Label> | ||
<asp:TextBox ID="CurrentPassword" runat="server" CssClass="passwordEntry" TextMode="Password"></asp:TextBox> | ||
<asp:RequiredFieldValidator ID="CurrentPasswordRequired" runat="server" ControlToValidate="CurrentPassword" | ||
CssClass="failureNotification" ErrorMessage="Password is required." ToolTip="Old Password is required." | ||
ValidationGroup="ChangeUserPasswordValidationGroup">*</asp:RequiredFieldValidator> | ||
</p> | ||
<p> | ||
<asp:Label ID="NewPasswordLabel" runat="server" AssociatedControlID="NewPassword">New Password:</asp:Label> | ||
<asp:TextBox ID="NewPassword" runat="server" CssClass="passwordEntry" TextMode="Password"></asp:TextBox> | ||
<asp:RequiredFieldValidator ID="NewPasswordRequired" runat="server" ControlToValidate="NewPassword" | ||
CssClass="failureNotification" ErrorMessage="New Password is required." ToolTip="New Password is required." | ||
ValidationGroup="ChangeUserPasswordValidationGroup">*</asp:RequiredFieldValidator> | ||
</p> | ||
<p> | ||
<asp:Label ID="ConfirmNewPasswordLabel" runat="server" AssociatedControlID="ConfirmNewPassword">Confirm New Password:</asp:Label> | ||
<asp:TextBox ID="ConfirmNewPassword" runat="server" CssClass="passwordEntry" TextMode="Password"></asp:TextBox> | ||
<asp:RequiredFieldValidator ID="ConfirmNewPasswordRequired" runat="server" ControlToValidate="ConfirmNewPassword" | ||
CssClass="failureNotification" Display="Dynamic" ErrorMessage="Confirm New Password is required." | ||
ToolTip="Confirm New Password is required." ValidationGroup="ChangeUserPasswordValidationGroup">*</asp:RequiredFieldValidator> | ||
<asp:CompareValidator ID="NewPasswordCompare" runat="server" ControlToCompare="NewPassword" ControlToValidate="ConfirmNewPassword" | ||
CssClass="failureNotification" Display="Dynamic" ErrorMessage="The Confirm New Password must match the New Password entry." | ||
ValidationGroup="ChangeUserPasswordValidationGroup">*</asp:CompareValidator> | ||
</p> | ||
</fieldset> | ||
<p class="submitButton"> | ||
<asp:Button ID="CancelPushButton" runat="server" CausesValidation="False" CommandName="Cancel" Text="Cancel"/> | ||
<asp:Button ID="ChangePasswordPushButton" runat="server" CommandName="ChangePassword" Text="Change Password" | ||
ValidationGroup="ChangeUserPasswordValidationGroup"/> | ||
</p> | ||
</div> | ||
</ChangePasswordTemplate> | ||
</asp:ChangePassword> | ||
</asp:Content> |
14 changes: 14 additions & 0 deletions
14
...5/DeployingWebApplicationContainer/DeployingWebApplication/Account/ChangePassword.aspx.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Web; | ||
using System.Web.UI; | ||
using System.Web.UI.WebControls; | ||
|
||
public partial class Account_ChangePassword : System.Web.UI.Page | ||
{ | ||
protected void Page_Load(object sender, EventArgs e) | ||
{ | ||
|
||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...ployingWebApplicationContainer/DeployingWebApplication/Account/ChangePasswordSuccess.aspx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<%@ Page Title="Change Password" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" | ||
CodeFile="ChangePasswordSuccess.aspx.cs" Inherits="Account_ChangePasswordSuccess" %> | ||
|
||
<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent"> | ||
</asp:Content> | ||
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent"> | ||
<h2> | ||
Change Password | ||
</h2> | ||
<p> | ||
Your password has been changed successfully. | ||
</p> | ||
</asp:Content> |
14 changes: 14 additions & 0 deletions
14
...yingWebApplicationContainer/DeployingWebApplication/Account/ChangePasswordSuccess.aspx.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Web; | ||
using System.Web.UI; | ||
using System.Web.UI.WebControls; | ||
|
||
public partial class Account_ChangePasswordSuccess : System.Web.UI.Page | ||
{ | ||
protected void Page_Load(object sender, EventArgs e) | ||
{ | ||
|
||
} | ||
} |
49 changes: 49 additions & 0 deletions
49
70-515/DeployingWebApplicationContainer/DeployingWebApplication/Account/Login.aspx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
<%@ Page Title="Log In" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" | ||
CodeFile="Login.aspx.cs" Inherits="Account_Login" %> | ||
|
||
<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent"> | ||
</asp:Content> | ||
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent"> | ||
<h2> | ||
Log In | ||
</h2> | ||
<p> | ||
Please enter your username and password. | ||
<asp:HyperLink ID="RegisterHyperLink" runat="server" EnableViewState="false">Register</asp:HyperLink> if you don't have an account. | ||
</p> | ||
<asp:Login ID="LoginUser" runat="server" EnableViewState="false" RenderOuterTable="false"> | ||
<LayoutTemplate> | ||
<span class="failureNotification"> | ||
<asp:Literal ID="FailureText" runat="server"></asp:Literal> | ||
</span> | ||
<asp:ValidationSummary ID="LoginUserValidationSummary" runat="server" CssClass="failureNotification" | ||
ValidationGroup="LoginUserValidationGroup"/> | ||
<div class="accountInfo"> | ||
<fieldset class="login"> | ||
<legend>Account Information</legend> | ||
<p> | ||
<asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName">Username:</asp:Label> | ||
<asp:TextBox ID="UserName" runat="server" CssClass="textEntry"></asp:TextBox> | ||
<asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="UserName" | ||
CssClass="failureNotification" ErrorMessage="User Name is required." ToolTip="User Name is required." | ||
ValidationGroup="LoginUserValidationGroup">*</asp:RequiredFieldValidator> | ||
</p> | ||
<p> | ||
<asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password">Password:</asp:Label> | ||
<asp:TextBox ID="Password" runat="server" CssClass="passwordEntry" TextMode="Password"></asp:TextBox> | ||
<asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="Password" | ||
CssClass="failureNotification" ErrorMessage="Password is required." ToolTip="Password is required." | ||
ValidationGroup="LoginUserValidationGroup">*</asp:RequiredFieldValidator> | ||
</p> | ||
<p> | ||
<asp:CheckBox ID="RememberMe" runat="server"/> | ||
<asp:Label ID="RememberMeLabel" runat="server" AssociatedControlID="RememberMe" CssClass="inline">Keep me logged in</asp:Label> | ||
</p> | ||
</fieldset> | ||
<p class="submitButton"> | ||
<asp:Button ID="LoginButton" runat="server" CommandName="Login" Text="Log In" ValidationGroup="LoginUserValidationGroup"/> | ||
</p> | ||
</div> | ||
</LayoutTemplate> | ||
</asp:Login> | ||
</asp:Content> |
14 changes: 14 additions & 0 deletions
14
70-515/DeployingWebApplicationContainer/DeployingWebApplication/Account/Login.aspx.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Web; | ||
using System.Web.UI; | ||
using System.Web.UI.WebControls; | ||
|
||
public partial class Account_Login : System.Web.UI.Page | ||
{ | ||
protected void Page_Load(object sender, EventArgs e) | ||
{ | ||
RegisterHyperLink.NavigateUrl = "Register.aspx?ReturnUrl=" + HttpUtility.UrlEncode(Request.QueryString["ReturnUrl"]); | ||
} | ||
} |
75 changes: 75 additions & 0 deletions
75
70-515/DeployingWebApplicationContainer/DeployingWebApplication/Account/Register.aspx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
<%@ Page Title="Register" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" | ||
CodeFile="Register.aspx.cs" Inherits="Account_Register" %> | ||
|
||
<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent"> | ||
</asp:Content> | ||
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent"> | ||
<asp:CreateUserWizard ID="RegisterUser" runat="server" EnableViewState="false" OnCreatedUser="RegisterUser_CreatedUser"> | ||
<LayoutTemplate> | ||
<asp:PlaceHolder ID="wizardStepPlaceholder" runat="server"></asp:PlaceHolder> | ||
<asp:PlaceHolder ID="navigationPlaceholder" runat="server"></asp:PlaceHolder> | ||
</LayoutTemplate> | ||
<WizardSteps> | ||
<asp:CreateUserWizardStep ID="RegisterUserWizardStep" runat="server"> | ||
<ContentTemplate> | ||
<h2> | ||
Create a New Account | ||
</h2> | ||
<p> | ||
Use the form below to create a new account. | ||
</p> | ||
<p> | ||
Passwords are required to be a minimum of <%= Membership.MinRequiredPasswordLength %> characters in length. | ||
</p> | ||
<span class="failureNotification"> | ||
<asp:Literal ID="ErrorMessage" runat="server"></asp:Literal> | ||
</span> | ||
<asp:ValidationSummary ID="RegisterUserValidationSummary" runat="server" CssClass="failureNotification" | ||
ValidationGroup="RegisterUserValidationGroup"/> | ||
<div class="accountInfo"> | ||
<fieldset class="register"> | ||
<legend>Account Information</legend> | ||
<p> | ||
<asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName">User Name:</asp:Label> | ||
<asp:TextBox ID="UserName" runat="server" CssClass="textEntry"></asp:TextBox> | ||
<asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="UserName" | ||
CssClass="failureNotification" ErrorMessage="User Name is required." ToolTip="User Name is required." | ||
ValidationGroup="RegisterUserValidationGroup">*</asp:RequiredFieldValidator> | ||
</p> | ||
<p> | ||
<asp:Label ID="EmailLabel" runat="server" AssociatedControlID="Email">E-mail:</asp:Label> | ||
<asp:TextBox ID="Email" runat="server" CssClass="textEntry"></asp:TextBox> | ||
<asp:RequiredFieldValidator ID="EmailRequired" runat="server" ControlToValidate="Email" | ||
CssClass="failureNotification" ErrorMessage="E-mail is required." ToolTip="E-mail is required." | ||
ValidationGroup="RegisterUserValidationGroup">*</asp:RequiredFieldValidator> | ||
</p> | ||
<p> | ||
<asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password">Password:</asp:Label> | ||
<asp:TextBox ID="Password" runat="server" CssClass="passwordEntry" TextMode="Password"></asp:TextBox> | ||
<asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="Password" | ||
CssClass="failureNotification" ErrorMessage="Password is required." ToolTip="Password is required." | ||
ValidationGroup="RegisterUserValidationGroup">*</asp:RequiredFieldValidator> | ||
</p> | ||
<p> | ||
<asp:Label ID="ConfirmPasswordLabel" runat="server" AssociatedControlID="ConfirmPassword">Confirm Password:</asp:Label> | ||
<asp:TextBox ID="ConfirmPassword" runat="server" CssClass="passwordEntry" TextMode="Password"></asp:TextBox> | ||
<asp:RequiredFieldValidator ControlToValidate="ConfirmPassword" CssClass="failureNotification" Display="Dynamic" | ||
ErrorMessage="Confirm Password is required." ID="ConfirmPasswordRequired" runat="server" | ||
ToolTip="Confirm Password is required." ValidationGroup="RegisterUserValidationGroup">*</asp:RequiredFieldValidator> | ||
<asp:CompareValidator ID="PasswordCompare" runat="server" ControlToCompare="Password" ControlToValidate="ConfirmPassword" | ||
CssClass="failureNotification" Display="Dynamic" ErrorMessage="The Password and Confirmation Password must match." | ||
ValidationGroup="RegisterUserValidationGroup">*</asp:CompareValidator> | ||
</p> | ||
</fieldset> | ||
<p class="submitButton"> | ||
<asp:Button ID="CreateUserButton" runat="server" CommandName="MoveNext" Text="Create User" | ||
ValidationGroup="RegisterUserValidationGroup"/> | ||
</p> | ||
</div> | ||
</ContentTemplate> | ||
<CustomNavigationTemplate> | ||
</CustomNavigationTemplate> | ||
</asp:CreateUserWizardStep> | ||
</WizardSteps> | ||
</asp:CreateUserWizard> | ||
</asp:Content> |
29 changes: 29 additions & 0 deletions
29
70-515/DeployingWebApplicationContainer/DeployingWebApplication/Account/Register.aspx.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Web; | ||
using System.Web.Security; | ||
using System.Web.UI; | ||
using System.Web.UI.WebControls; | ||
|
||
public partial class Account_Register : System.Web.UI.Page | ||
{ | ||
|
||
protected void Page_Load(object sender, EventArgs e) | ||
{ | ||
RegisterUser.ContinueDestinationPageUrl = Request.QueryString["ReturnUrl"]; | ||
} | ||
|
||
protected void RegisterUser_CreatedUser(object sender, EventArgs e) | ||
{ | ||
FormsAuthentication.SetAuthCookie(RegisterUser.UserName, false /* createPersistentCookie */); | ||
|
||
string continueUrl = RegisterUser.ContinueDestinationPageUrl; | ||
if (String.IsNullOrEmpty(continueUrl)) | ||
{ | ||
continueUrl = "~/"; | ||
} | ||
Response.Redirect(continueUrl); | ||
} | ||
|
||
} |
18 changes: 18 additions & 0 deletions
18
70-515/DeployingWebApplicationContainer/DeployingWebApplication/Account/Web.config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?xml version="1.0"?> | ||
<configuration> | ||
|
||
<location path="Register.aspx"> | ||
<system.web> | ||
<authorization> | ||
<allow users="*"/> | ||
</authorization> | ||
</system.web> | ||
</location> | ||
|
||
<system.web> | ||
<authorization> | ||
<deny users="?"/> | ||
</authorization> | ||
</system.web> | ||
|
||
</configuration> |
17 changes: 17 additions & 0 deletions
17
70-515/DeployingWebApplicationContainer/DeployingWebApplication/Default.aspx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" | ||
CodeFile="Default.aspx.cs" Inherits="_Default" %> | ||
|
||
<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent"> | ||
</asp:Content> | ||
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent"> | ||
<h2> | ||
Welcome to ASP.NET! | ||
</h2> | ||
<p> | ||
To learn more about ASP.NET visit <a href="http://www.asp.net" title="ASP.NET Website">www.asp.net</a>. | ||
</p> | ||
<p> | ||
You can also find <a href="http://go.microsoft.com/fwlink/?LinkID=152368&clcid=0x409" | ||
title="MSDN ASP.NET Docs">documentation on ASP.NET at MSDN</a>. | ||
</p> | ||
</asp:Content> |
14 changes: 14 additions & 0 deletions
14
70-515/DeployingWebApplicationContainer/DeployingWebApplication/Default.aspx.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Web; | ||
using System.Web.UI; | ||
using System.Web.UI.WebControls; | ||
|
||
public partial class _Default : System.Web.UI.Page | ||
{ | ||
protected void Page_Load(object sender, EventArgs e) | ||
{ | ||
|
||
} | ||
} |
38 changes: 38 additions & 0 deletions
38
70-515/DeployingWebApplicationContainer/DeployingWebApplication/Global.asax
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<%@ Application Language="C#" %> | ||
|
||
<script runat="server"> | ||
void Application_Start(object sender, EventArgs e) | ||
{ | ||
// Code that runs on application startup | ||
} | ||
void Application_End(object sender, EventArgs e) | ||
{ | ||
// Code that runs on application shutdown | ||
} | ||
void Application_Error(object sender, EventArgs e) | ||
{ | ||
// Code that runs when an unhandled error occurs | ||
} | ||
void Session_Start(object sender, EventArgs e) | ||
{ | ||
// Code that runs when a new session is started | ||
} | ||
void Session_End(object sender, EventArgs e) | ||
{ | ||
// Code that runs when a session ends. | ||
// Note: The Session_End event is raised only when the sessionstate mode | ||
// is set to InProc in the Web.config file. If session mode is set to StateServer | ||
// or SQLServer, the event is not raised. | ||
} | ||
</script> |
Oops, something went wrong.