Dear All,

RedirectFromLoginPage will always re-direct to the ReturnURL or
DefaultURL. And unfortunately neither one of this can be changed
programmatically.

I have a need, where different users need to be re-directed to
different page after login.

How can I do that?

Thanks in advance.

Re: RedirectFromLoginPage redirect to a Different URL by Leon

Leon
Thu May 08 04:09:38 CDT 2008

<ckkwan@my-deja.com> wrote in message
news:3b3dce28-abf8-44ab-b27c-57d55da9a832@w1g2000prd.googlegroups.com...
> RedirectFromLoginPage will always re-direct to the ReturnURL or
> DefaultURL. And unfortunately neither one of this can be changed
> programmatically.
>
> I have a need, where different users need to be re-directed to
> different page after login.

Use FormsAuthentication.SetAuthCookie then Response.Redirect to the page you
want to send them to.

--
Leon Mayne
http://leon.mvps.org/