C
C. Moya
I need to be able to postback to a different page from my login page (using
FormsAuthentication). After a lot of research, I was able to get the
postback to work by adding a <location> element for the target page in
web.config (so it's excluded from forms authentication).
HOWEVER, although the postback now works... the Page.PreviousPage property
returns a
"The current user is not allowed to access the previous page" exception. Not
sure what I'm doing wrong.
P.S.
Yes, Server.Transfer works... but I need the "redirect" so I can kick off
the session (which I have turned off in the Login page).
FormsAuthentication). After a lot of research, I was able to get the
postback to work by adding a <location> element for the target page in
web.config (so it's excluded from forms authentication).
HOWEVER, although the postback now works... the Page.PreviousPage property
returns a
"The current user is not allowed to access the previous page" exception. Not
sure what I'm doing wrong.
P.S.
Yes, Server.Transfer works... but I need the "redirect" so I can kick off
the session (which I have turned off in the Login page).