In my app, I verify the user has a cookie, and then I response.redirect to a login page if that fails. The login page loads in the current frame, though. I would like it to load as target=top. I didn't have any luck using that with response.redirect, so, I am assuming that it don't work. I tried to response.redirect to a page with this code
<html>
<head>
<script language="JavaScript">
function goHome() {
parent.top.location.href="default2.asp";
}
</head>
<body onload="goHome()">
</body>
</html>
but it don't work
Any suggestions... I know this one has to be easy, but I haven't had any luck searching.
Thanks!
gordon
<html>
<head>
<script language="JavaScript">
function goHome() {
parent.top.location.href="default2.asp";
}
</head>
<body onload="goHome()">
</body>
</html>
but it don't work
Any suggestions... I know this one has to be easy, but I haven't had any luck searching.
Thanks!
gordon