Forms authentication ignored in virtual application

Posted by Christo Fur on Stack Overflow See other posts from Stack Overflow or by Christo Fur
Published on 2010-03-15T12:49:01Z Indexed on 2010/03/15 12:49 UTC
Read the original article Hit count: 578

I have an admin site swet up as a virtual applcation inside of another website.

I would like visitors to the sub directory (the virtual application) to be promtped for credentials using the same Forms autheentication set up on the main parent site

Have tried all sorts of things but can't get it to work including

Removing all ,, and sections from the virtual-app web.config

Copying the same ,, and sections from the parent to the virtual-app web.config

Using a virtual directory instead of virtual application

But I never get promted for credentials

Anyone know how to get this setup?

thanks

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about forms-authentication