Forms Authentication

B

Bryan Freeman

I have an interesting forms authentication issue ...

Our application has many co branded sites (ie.
http://cobrand.application.com). These URLs actually point to the physical
folder structure of http://www.application.com/cobrand, etc. Each co brand is
essentially a copy of the application folder, with some custom styles and
configuration information.

Anyway, we want to use forms authentication, but would like to have the
formslogin.aspx located at the /cobrand level so it can be customized. The
problem is, when a request comes in for a secured resource, and asp.net
redirects to formslogin.aspx, we have an http module that reformats the url
from the http://cobrand.application.com/ format to the
http://www.application.com/cobrand format. This causes a loop in the
redirects.

The only way we’ve found to get around this is to put the formslogin.aspx at
the root level, but then we can't customize it for each cobrand (a
requirement).
 
R

Ray Costanzo [MVP]

Hi Bryan,

This is a "classic" ASP group. The ASP.NET groups have "aspnet" in their
names, i.e. microsoft.public.dotnet.framework.aspnet.

Ray at work
 

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. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,043
Latest member
CannalabsCBDReview

Latest Threads

Top