Redirecting a parent frame

Results 1 to 3 of 3

Thread: Redirecting a parent frame

  1. #1
    Join Date
    Dec 1969

    Default Redirecting a parent frame

    Anyone got any idea how I could redirect a user to a page displayed in the parent frame. I am reading from the cookie to check whether they have access if not, they get redirected to NoAccess.html<BR><BR>I know the HTML is target=_parent, but am not sure how to do this, I posted a message on here yesterday but the message has disappeared!<BR><BR>&#060;%<BR>Function funcCheckAuth()<BR>if request.cookies("Auth") = "0" then<BR>response.redirect ("../NoAccess.html")<BR>end if<BR>end function<BR>%&#062;<BR><BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: Redirecting a parent frame

    You can&#039;t redirect to a specific frame using ASP.

  3. #3
    Join Date
    Dec 1969

    Default Try...

    Response.Write "&#060;script&#062;top.document.location = url&#060;/script&#062;"<BR>Response.end

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts