ok, folk, I'm interested in learning how to redo this. I have a login and I'm
checking to see if the cookie is there. If not, it gives a message and if
there it shows the content. What's a better way to design this? do I have to
have the same code and touch up the same code on hundreds of pages, rather than
an include?
<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 goes here --->
<cfelse>
To use this page, please first <a
href="#request.commondomain#login_form.cfm">login</a>.
</cfif>
</cfoutput>
</div>
>CF won't let you split the Cfif tags across the includes: to my
>understanding, each needs to be syntactically on its own. Even if it
>did allow it, it'd be awfully hard to debug!
>
>-Joe
>
>On 5/17/05, Daniel Kessler <[EMAIL PROTECTED]> wrote:
>>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:206856
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