multiple default pages issue

G

graphicsxp

Hi,
I have a login page (login1.aspx) which upon successful login makes a
call to FormsAuthentication.RedirectFromLoginPage. That works and
redirects the user to Welcome.aspx, which is the default page.

However the user should also be able to access the site directely from
another application. If they come from that other application, they
should be redirected to another login page (login2.aspx) which uses
their windows account (it's an intranet) to login and redirects them
upon success to SomePage.aspx, instead of Welcome.aspx.

The issue is that FormsAuthentication only redirects to the page that
were requested. So I could call SomePage.aspx from this other
application, but then they would be redirected to login1.aspx instead
of login2.aspx...

How can I solve that ?


Thanks
 

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,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top