Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

RedirectFromLoginPage redirect to a Different URL

1 view
Skip to first unread message

ckk...@my-deja.com

unread,
May 7, 2008, 11:33:01 PM5/7/08
to
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.

Leon Mayne

unread,
May 8, 2008, 5:09:38 AM5/8/08
to
<ckk...@my-deja.com> wrote in message
news:3b3dce28-abf8-44ab...@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/

0 new messages