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. Advertisements

  2. gh

    subtile Guest

    in web.config
     
    subtile, Jun 11, 2008
    #2
    1. Advertisements

  3. gh

    gh Guest

    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. Advertisements

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.