HTML Frames

  • Thread starter Thread starter A.M
  • Start date Start date
A

A.M

Hi,

I have been told that I should avoid using html frames as much as possible
in ASP applications. Why is that so?

Thanks,
Ali
 
I could go on and on.
If you love client side javascript then you could make such a system work if
you had to.
If you have frames, none of your pages are alive at the same point in time
on the server, making it very difficult to pass information between pages.
All that has to be done client side.
 
Hi Ali,

Firstly, I want to thank Steve for his great help in this issue. Please
refer to his response carefully.

In addition, there are security issues we should consider in when we use
the frames.

About Cross-Frame Scripting and Security
http://msdn.microsoft.com/library/default.asp?url=/workshop/author/om/xframe
_scripting_security.asp
"...
With Dynamic HTML (DHTML), content in different windows and frames can
interact in powerful ways by scripting with the object model. However,
since a browser can simultaneously display unrelated documents in its
various windows and frames, certain rules must be enforced to protect data
integrity and privacy of information.

This article describes how and why these restrictions apply in the DHTML
Object Model. All rules about script interaction apply equally to windows,
dialog boxes, frameSets, frames, and iframes.
..."

I hope it helps.

Best regards,

Jacob Yang
Microsoft Online Partner Support
Get Secure! ¨C www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 
Back
Top