LoginControl\ASP.NET2.0

Discussion in 'ASP .Net' started by gh, Jun 11, 2008.

  1. gh

    gh Guest

    I am using the Login Control in a VS 2008 web app. I validate the login
    in the Login1_Authenticate event and set e.Authenticate

    if (dsLogin.Tables[0].Rows.Count == 1)
    {
    e.Authenticated = true;
    }

    All is working except I get a 404 error: Requested URL: /default.aspx.
    Where do I set the page I want to open?

    Thanks
    gh, Jun 11, 2008
    #1
    1. Advertising

  2. gh

    subtile Guest

    in web.config

    --

    Jesus Loves You


    "gh" wrote:

    > I am using the Login Control in a VS 2008 web app. I validate the login
    > in the Login1_Authenticate event and set e.Authenticate
    >
    > if (dsLogin.Tables[0].Rows.Count == 1)
    > {
    > e.Authenticated = true;
    > }
    >
    > All is working except I get a 404 error: Requested URL: /default.aspx.
    > Where do I set the page I want to open?
    >
    > Thanks
    >
    subtile, Jun 11, 2008
    #2
    1. Advertising

  3. gh

    gh Guest

    subtile wrote:
    > in web.config
    >

    What I wanted to do, if the password validated, is put some values in
    hidden fields on the login page. The login page is inserted into a php
    page using an iframe. If the login is valid, I have some values I am
    passing to the php side.

    Thanks
    gh, Jun 11, 2008
    #3
    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. Arjen
    Replies:
    5
    Views:
    481
    Brock Allen
    May 9, 2005
  2. =?Utf-8?B?RlJBTkNIRFJFQU0=?=

    LoginControl cannot Redirect the request url.

    =?Utf-8?B?RlJBTkNIRFJFQU0=?=, May 9, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    398
    =?Utf-8?B?RlJBTkNIRFJFQU0=?=
    May 9, 2006
  3. =?Utf-8?B?RlJBTkNIRFJFQU0=?=

    Question about LoginControl (asp.net 2.0)

    =?Utf-8?B?RlJBTkNIRFJFQU0=?=, May 10, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    512
    Cowboy \(Gregory A. Beamer\)
    May 10, 2006
  4. hoomdoom
    Replies:
    1
    Views:
    1,612
    visionarysoft
    Sep 29, 2012
  5. Dabbler

    sql timeout on LoginControl

    Dabbler, Aug 11, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    386
    Dabbler
    Aug 11, 2006
Loading...

Share This Page