Hello,
I am developing a ASP.NET web application using a frameset.
I have a header frame and a lower frame. The lower frame is divided to a left frame (which displays a menu) and a right frame which is my main frame in the application.
I am also using forms authentication.
When the session expires before the forms authentication timeouts, i am redirecting to my login page.
The problem is that after logging in again, the while frameset is placed in my main frame, so that now I have a frameset within a framset.
What should I do to fix that?
I use this function to check if the session has expired:
private void getVar()
{
if (Session["myVar"] != null)
{
Password = Session["myVar"].ToString();
}
else
{
Session.Clear();
FormsAuthentication.SignOut();
Response.Redirect("../main.htm");
}
}
Thank you,
Dana