Multiple loginUrl

Joined
Oct 20, 2006
Messages
1
Reaction score
0
Hello.

I have this problem.

My application looks like this.

root/
root/mobile
root/secure

I have a web.config file in all directorys
My problem is that depending on witch folder you try to access you will get redirected to diffrent login pages..

For example. If you try to access a site in root/mobile and dont have access you will be send to root/login_mobile.aspx

and if you try to access root/secure you will be redirected to root/login.aspx


I have tried with using two
<authentication mode="Forms">
<forms loginUrl="default.aspx"/>
</authentication>

but if i do I get wrong messages..
 

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,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top