how to change redirection to default.aspx when logged?

Discussion in 'ASP .Net' started by Ben, Apr 15, 2007.

  1. Ben

    Ben Guest

    Hi,

    when loggeg with the login control, the user is automatically redirected to
    the file "default.aspx'.
    Any way to change that (i guess in web.config)?

    Thanks
    Ben
    Ben, Apr 15, 2007
    #1
    1. Advertising

  2. Eliyahu Goldin, Apr 15, 2007
    #2
    1. Advertising

  3. Add a DestinationPageUrl to the Login control, or change it if it exists.

    <asp:Login
    ID="Login1"
    runat="server"
    DestinationPageUrl="~/some.aspx">
    </asp:Login>




    Juan T. Llibre, asp.net MVP
    asp.net faq : http://asp.net.do/faq/
    foros de asp.net, en español : http://asp.net.do/foros/
    ===================================
    "Ben" <> wrote in message news:...
    > Hi,
    >
    > when loggeg with the login control, the user is automatically redirected to the file
    > "default.aspx'.
    > Any way to change that (i guess in web.config)?
    >
    > Thanks
    > Ben
    >
    Juan T. Llibre, Apr 15, 2007
    #3
  4. Ben

    Ben Guest

    Thanks both

    "Juan T. Llibre" <> schreef in bericht
    news:...
    > Add a DestinationPageUrl to the Login control, or change it if it exists.
    >
    > <asp:Login
    > ID="Login1"
    > runat="server"
    > DestinationPageUrl="~/some.aspx">
    > </asp:Login>
    >
    >
    >
    >
    > Juan T. Llibre, asp.net MVP
    > asp.net faq : http://asp.net.do/faq/
    > foros de asp.net, en español : http://asp.net.do/foros/
    > ===================================
    > "Ben" <> wrote in message
    > news:...
    >> Hi,
    >>
    >> when loggeg with the login control, the user is automatically redirected
    >> to the file
    >> "default.aspx'.
    >> Any way to change that (i guess in web.config)?
    >>
    >> Thanks
    >> Ben
    >>

    >
    >
    >
    >
    Ben, Apr 15, 2007
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ted Apollo

    WebForm1.aspx / default.aspx

    Ted Apollo, Aug 26, 2004, in forum: ASP .Net
    Replies:
    5
    Views:
    2,385
    Joerg Jooss
    Aug 26, 2004
  2. John M
    Replies:
    1
    Views:
    1,126
    Kumar Reddi
    May 29, 2005
  3. Gaetan
    Replies:
    3
    Views:
    1,423
    Juan T. Llibre
    Feb 14, 2006
  4. keithb
    Replies:
    0
    Views:
    631
    keithb
    Feb 16, 2006
  5. Replies:
    1
    Views:
    944
    =?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?=
    Apr 12, 2007
Loading...

Share This Page