multiple user authentication on same server?

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
 

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
474,430
Messages
2,571,676
Members
48,796
Latest member
Greg L.

Latest Threads

Top