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
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