rskshiva
03-30-2006, 06:11 AM
I have an aspx page have 3 frames. Top(for Banner), left(for Menu) and Middle frame (for aspx pages). I have to redirect the page to LOGIN screen if the URLREFERRER not exists.
I have included the following code in the aspx pages (getting displayed inside the middle frame)
If strUrlReferrer Is Nothing Then
HttpContext.Current.Response.Redirect("Login.aspx")
End If
It is working but what happens is Login screen is getting displayed in inner frame (i.e middle frame) and Menu items(Left frame) and Top Banner (Top frame) are also visible.
My requirement is: Login page should come in the main window and not inside any frame. Kindly suggest as it is very urgent.
Thanks in advance.
Siva
I have included the following code in the aspx pages (getting displayed inside the middle frame)
If strUrlReferrer Is Nothing Then
HttpContext.Current.Response.Redirect("Login.aspx")
End If
It is working but what happens is Login screen is getting displayed in inner frame (i.e middle frame) and Menu items(Left frame) and Top Banner (Top frame) are also visible.
My requirement is: Login page should come in the main window and not inside any frame. Kindly suggest as it is very urgent.
Thanks in advance.
Siva