K
KK
Hi,
In my ASP.NET application I use forms authentication.
if a user tries to go to a page which is in the secured
location he will be directed to the login page.
Upon authorization, he will be redirected to the
RETURNURL using
FormsAuthenticate.RedirectFromLoginPage("*",false);
1) What I want to get done is redirect him to a page
I need. but I can't replace the value in RETURNURL
because its readonly. I just can't do a
Response.Redirect or Server.Transfer without using
FormsAuthenticate.RedirectFromLoginPage() because
then it keeps on loading the logon.aspx page in a loop.
2) Upon logout button click I do a
response.redirect to the logon.aspx and I clear off
the session and the authentication ticket. Because my
application has a frameset when I perform the
Response.redirect() it loads the logon.aspx page
on that frame. How can I break the frames and then
redirect using code?
regards
KK
In my ASP.NET application I use forms authentication.
if a user tries to go to a page which is in the secured
location he will be directed to the login page.
Upon authorization, he will be redirected to the
RETURNURL using
FormsAuthenticate.RedirectFromLoginPage("*",false);
1) What I want to get done is redirect him to a page
I need. but I can't replace the value in RETURNURL
because its readonly. I just can't do a
Response.Redirect or Server.Transfer without using
FormsAuthenticate.RedirectFromLoginPage() because
then it keeps on loading the logon.aspx page in a loop.
2) Upon logout button click I do a
response.redirect to the logon.aspx and I clear off
the session and the authentication ticket. Because my
application has a frameset when I perform the
Response.redirect() it loads the logon.aspx page
on that frame. How can I break the frames and then
redirect using code?
regards
KK