This one's got me baffled.

Has anyone found situations where CFPARAM isn't doing its job?

Win/CFMX 6.1

Here's the code ... I'll put markers by the pertinent code segments:


+++  HERE's the CFPARAM 
<cfparam name="mstatus" default="">

<cfif structCheckout.ccNumber IS NOT "">
    <cfset maskedCCnumber = "****" & right(structCheckout.ccNumber,4)>
</cfif>
<cfparam name="message" default="">


<table border="0" cellpadding="0" cellspacing="0" align="left" 
width="90%" style="margin-left:5pt">
<tr>
<td>
<!--- do not allow re-submission of order --->
<cfif NOT qBasketDetail.recordcount>
<table border="0" cellpadding="4" cellspacing="0" width="60%"  
class="tableborder" align="left">
    <tr class="tablebar">
            <td  height="30"><p class="title" 
style="margin-left:0">&nbsp;&nbsp;Dessy Retailer Store<br>
<img src="images/spacer_black.gif" width="460" height="1" 
border="0"><br><br><span class="text">Basket Details</span></td>
    </tr>
    <tr class="tablebackground">
        <td class="largeError" colspan="2" align="center">
        Your basket and personal information have been cleared for your 
security!
        <br>
        <br>
        <a href="<cfoutput>#request.storePath#</cfoutput>">Return Home</a>
        </td>
    </tr>
</table>
<cfelse>
+++  HERE's the PROBLEM
    <cfif isdefined("client.orderID") and mstatus is ""> <!--- order 
processing successful --->
   
It is getting to this line with error "MSTATUS is undefined"
How could this be?  any clues?


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:217509
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

Reply via email to