This project is read-only.

Forms Authentication

Topics: Developer Thread, Support Request
May 17, 2010 at 4:08 PM

We want to control access to DasBlog blog using forms authentication.  Our logon form will authenticate against our own database and then allow access to the Blog if successfull. So we are authenticating all users.

We've written and tested the logon page and all works ok.  ASPX file and dll for the bin folder.  Have then added the following

<authentication mode="Forms">
   <!-- NOTE: If you want to run MULTIPLE dasBlogs on the SAME Domain Name
        include the path in each blog's Web.Config like path="/dasblog1" and path="/yoursite"
        as appropriate. -->
   <forms loginUrl="OurLogon.aspx" name=".DASBLOGAUTH" protection="All" timeout="60" path="/" cookieless="UseCookies" />
    <deny users="?" />

I though that should do it, but...

The redirect to our page is ok, we authenticate the user ok and do a FormsAuthentication.Redirect.  At that point we then end up with a redirect back to our logon page.  Thoughts on how to proceed?