Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Application.cfm and Frames

Status
Not open for further replies.

dddenney

Programmer
Nov 29, 2000
41
US
I am haveing a problem with my CF app not being able to load frames when the Application.cfm file is in the directory. As soon as I take the application.cfm file out, the frames work as they are supposed to. Below is the code to the application.cfm:

<!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;>

<html>
<head>
<title>Application.cfm</title>
</head>

<cfapplication name=&quot;Dash&quot; sessionmanagement=&quot;Yes&quot;>

<body>
</body>
</html>

Here is the code for the first page with frames:


<!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;>

<html>
<head>
<title>Dashboard</title>
</head>
<frameset rows=&quot;11%, *&quot;>
<frame src=&quot;Dash_Frame_Title.cfm&quot; name=&quot;Title&quot; id=&quot;Title&quot; frameborder=&quot;0&quot; scrolling=&quot;No&quot; noresize
bordercolor=&quot;#000000&quot;>
<!-- frames w/in Frames-->
<frameset cols=&quot;10%,*&quot;>
<frame src=&quot;Menu\Dash_NoMenu.cfm&quot; name=&quot;Menu&quot; id=&quot;Menu&quot; frameborder=&quot;0&quot; scrolling=&quot;No&quot; noresize
marginwidth=&quot;10&quot; marginheight=&quot;10&quot; bordercolor=&quot;#000000&quot;>
<frame src=&quot;Dash_Login.cfm&quot; name=&quot;Main&quot; id=&quot;Main&quot; frameborder=&quot;0&quot; scrolling=&quot;Auto&quot; bordercolor=&quot;#000000&quot;>
</frameset>
</frameset>

<body>
</body>
</html>

Any output I put in the body is displayed, it only seems to be the frames that don't work when the app.cfm file is there.

If anybody has any information on this at all I would be greatly appreciative. Thanks in advance.

Dan
 
Never mind. I solved the problem by removing the <head>, <title>, and <body> tags from the application.cfm file. It works perfectly now. Go figure.

Dan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top