Problem with Login

Discussion in 'ASP .Net Security' started by S.Dirks, Feb 27, 2009.

  1. S.Dirks

    S.Dirks Guest

    Hello NG!

    I have the following problem with Asp.Net-Membership/Roles.

    I have written a Website using Asp.Net-Membership and Roles. When I access
    the site by "http://localhost/login.aspx" everything is fine an I get
    redirected to the right site(http://localhost/users/default.aspx"). But when
    i use "http://<myserver>/login.aspx" after login i allways stay on the
    login-site. When I use a false password, I get the correct error-message. Has
    somebody an idea what's wrong?

    Thanks and regards,

    Stefan
     
    S.Dirks, Feb 27, 2009
    #1
    1. Advertisements

  2. S.Dirks

    S.Dirks Guest

    Interesting:

    This behavior only seems to appear in IE6/IE7. Firefox and Opera do not seem
    to be affected. With Firefox and Opera I can login to the secured website
    without problems and access the correct site
    "http://<myserver>/users/default.aspx".

    Regards, Stefan
     
    S.Dirks, Feb 27, 2009
    #2
    1. Advertisements

  3. S.Dirks

    S.Dirks Guest

    Hello NG,

    problem solved. It seems to be a problem with the servername of the
    virtual-machine. It begins with an underline. When I use the IP-address, I
    have no problem to login with IE.

    Regards,
    Stefan
     
    S.Dirks, Mar 3, 2009
    #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.