Hey Dan,
You could probably do it all with three includes:
LoginBox.cfm contains:
<div class="margin_8 orange_link">
<cfoutput>
<img src="#request.imagesdomain#spacer.gif" border="0"
height="5" width="0"><br>
<cfif isDefined('cookie.empower_login')>
<!--- Content Include --->
<cfinclude template="LoginBoxLoggedIn.cfm" />
<cfelse>
<cfinclude template="LoginBoxNotLoggedIn.cfm" />
</cfif>
</cfoutput>
</div>
LoginBoxLoggedIn.cfm contains your content
LoginBoxNotLoggedIn contains:
To use this page, please first <a
href="#request.commondomain#login_form.cfm">login</a>.
That help at all?
-Joe
\--
Get Glued!
The Model-Glue ColdFusion Framework
http://www.model-glue.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking
application. Start tracking and documenting hours spent on a project or with a
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:206859
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54