Author: zhshqzyc | Posted on: 8/31/2010 12:49:58 PM | Views : 279

Hi,
In my web site, I have master page, default.aspx, login.aspx,loggedout.aspx and Display.aspx. default.aspx is the start-up web page.
I want to go to display.aspx after I login. However it always go to default.aspx.
Here is the code.
login.aspx
<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Login" %> <asp:Content ID="Content" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> <asp:Login ID="Login1" runat="server" onauthenticate="Login1_Authenticate"> </asp:Login> </asp:Content>
 
 
login.aspx.cs
using System; using System.Collections; using System.Configuration; using System. ...

Go to the complete details ...