I find a good way to debug this is to display it then eyeball it:
!<cfoutput>#ExpandPath("Images\#Trim(Session.Client_ID)##Trim(Session.Insure
d_ID)#1.jpg")#</cfoutput>!
> -----Original Message-----
> From: Paige Chandler [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, 11 June 2003 5:17 p.m.
> To: CF-Talk
> Subject: How to use ExpandPath
>
> Hello All,
>
> Is the following the correct usage of ExpandPath?
>
> <CFIF
> FileExists(ExpandPath("Images\#Trim(Session.Client_ID)##Trim(Session.Insur
> ed_ID)#1.jpg"))>
> <INPUT Type="button" Value="View Certificate - page 1" Name="Search1"
> onClick="window.location='http:\CVS3WP14.CFM'">
> <INPUT Type="button" Value="View Certificate - page 2" Name="Search1"
> onClick="window.location='http:\CVS3WP15.CFM'">
> </CFIF>
>
> The .jpg image does exist. I don't get a error but it doesn't display the
> buttons either. Help will be appreciated. TIA.
>
>
> Regards,
>
> Paige
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at
http://www.coolfusion.com
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4