I can't say I have an explaination, but have you tried explicitly
scoping the variables? I wouldn't be surprised if that fixes it.
cheers,
barneyb
On 9/6/05, Jann E. VanOver <[EMAIL PROTECTED]> wrote:
> 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"> 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?
>
--
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/
Got Gmail? I have 100 invites.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:217510
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