problem with the <authenication loginurl=.....

Discussion in 'ASP .Net' started by Jeff, Sep 26, 2006.

  1. Jeff

    Jeff Guest

    Hey 2.0

    I created a simple helloworld website so I could tryout athentication in 2.0

    Start page is Default.aspx. The problem is that when I start this web
    application I'm not directed to Login.aspx
    I thought knew that I wasn't a authenticated user and automatically
    redirected me to the page specified in the loginUrl property...

    There are no registrered users on this system

    part of web.config:
    <authentication mode="Forms">
    <forms loginUrl="~/Login.aspx" />

    Any ideas what I'm doing wrong here??

    Best Regards!

    Jeff, Sep 26, 2006
    1. Advertisements

  2. Jeff

    Jeff Guest

    I just had to add this to web.config:

    <deny users="?" />
    Jeff, Sep 26, 2006
    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.