> eg after lgin you might wat to send them to /mysecurearea/main.aspx
instead
> of default.aspx.
> Where do you set this in asp.net?
ie the default value for where
FormsAuthentication.RedirectFromLoginPage
sends you if it doesn't have a return value already.
Lauchlan M> There is no way to set that.
> If you must redirect elsewhere, you can do the steps which
> RedirectFromLoginPage otherwise does for you.
John,
what are these steps that RedirectFromLoginPage does?
I am using no-cookies.
Thx
Lauchlan M
"Lauchlan M" <LMackinnon@.Hotmail.com> wrote in message
news:e9I$jOIZDHA.1940@.TK2MSFTNGP10.phx.gbl...
> > There is no way to set that.
> > If you must redirect elsewhere, you can do the steps which
> > RedirectFromLoginPage otherwise does for you.
> John,
> what are these steps that RedirectFromLoginPage does?
According to the documentation, it issues the ticket and then does the
redirection. I believe you can do the same by calling SetAuthCookie followed
by your own Response.Redirect.
> I am using no-cookies.
Despite the name, I believe that SetAuthCookie will handle the cookieless
case.
--
John Saunders
Internet Engineer
john.saunders@.surfcontrol.com
Thursday, March 29, 2012
Setting page FormsAuthentication.RedirectFromLoginPage defaults to?
Labels:
asp,
aspx,
aspxinsteadgt,
default,
defaults,
formsauthenticationredirectfromloginpage,
lgin,
mysecurearea,
net,
netie,
page,
setting,
wat
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment