I was framed!

Results 1 to 2 of 2

Thread: I was framed!

  1. #1
    Join Date
    Dec 1969

    Default I was framed!

    I&#039m not sure if there&#039s a way to do this in ASP, or if it&#039s better to just use javascript.<BR><BR>If someone tries to call up a page directly that is intended to reside in a frame, can ASP detect this so it can be redirected?<BR><BR>Thanks!

  2. #2
    KPW Guest

    Default RE: I was framed!

    Nope, you need to use JavaScript. Don&#039t know if you need code to pull this off, but it would be something like<BR><BR>if (top.frames.length == 0) {<BR>**top.location.href = "http://www.mysite.com/myframeset.html";<BR>}

Posting Permissions

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