Sends me to my Login page even after I'm logged in

Discussion in 'ASP .Net Security' started by Jim, Oct 8, 2007.

  1. Jim

    Jim Guest

    Hi, I'm trying to setup ASP security for the first time and am having some
    problems. If anybody can help, I would greatlly appretiate it. I setup the
    aspnetdb and setup users and roles through the ASP.net configuration. I
    setup a Logincs.aspx page with a Login Web Control. When I go to my
    Default.aspx page it successfully sends me to my login page. When I enter a
    User Name and Password and hit Log In, it seems to send me back to the
    Default.aspx page, but the page doesn't reconize that I'm loged in sends me
    right back to my login page. Again, if anyone has any ideas as to what I'm
    doing wrong, I would greatly appritate it.

    Thanks,
    Jim
     
    Jim, Oct 8, 2007
    #1
    1. Advertisements

  2. It could be that you don't have rights for that page. Do you use any
    group based security?
     
    Alexey Smirnov, Oct 10, 2007
    #2
    1. Advertisements

  3. Jim

    Jim Guest

    It turned out, the web.config file I copied had the line <deny users="*" />
    which denied access to all users. I took that out and it worked fine.
    Thanks for your help. I appreciate it.



    Jim
     
    Jim, Oct 10, 2007
    #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.