![]() | |
| |||||||
| Home | Register | Blogs | FAQ | Members List | Calendar | Downloads | Arcade | Mark Forums Read |
| Web Development Java/PHP/Perl/ASP and more |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 |
| Web developer | Frames, Redirection I have complicated structure with frames: 2 rows, bottom frame has 2 cols, one of the cols has 2 rows. All this structure belongs to administrative interface and I want to check user identification on each action. I have such file that redirects page on the login page if session expires. But it processed in self document (in current frame), but I want that it will be in total window (parent). I tried to use javascript's window.location.href and parent.location.href but it doesn't work. Here is a part of check.asp: ----- myCookieSess = Request.Cookies("myCookieSess") function LogOut() <script language="JavaScript"> window.location.href = "Default.asp"; </script> 'Response.Redirect("Default.asp?mess=exp") end function ' SessionID Check if rs.RecordCount < 1 then call LogOut() end if ------ And an include in each document in frame structure: ----- <!--#include file="check.asp"--> ----- Any ideas? |
| | |