multiple user authentication on same server?

  • Thread starter Thread starter Jerome
  • Start date Start date
J

Jerome

Hi,

I've got a website with several directories, each one representing an
'application' where you have to logon. This user authentication is done
in simple ASP, so each application has its own login page, failure page,
etc.

My question now is: how can I do the same with asp.net?

As far as I've know, you can define a web.config in the root like this
for example:

<configuration>
<system.web>
<authentication mode="Forms" />
</system.web>
</configuration>

So every attempt to reach a page of the application gets you sent to the
login.aspx if you haven't been properly authenticated. And of course
this is very useful when you're website represent one, and only one,
application.

But what if you want to have several, different login forms on your
webserver? How can you tell them that they should redirect to
login_app1.aspx or login_app2.aspx for example?

Any help is greatly appreciated.

Jerome
 
Back
Top