[thelist] Cold Fusion Script
Matt Mozer
matthewmozer at hotmail.com
Thu Aug 16 12:46:51 CDT 2001
Hello all...
I have written a custom script that dynamically generates a login or logout
image when a GUID string exists. The problem is, this will only work when
The GUID is present. If the CSID parameter doesn't exist (when a user is
logged out) I get an error. The logic should say; if the GUID is NEQ to c or
if it doesn't exist, then display this image. I need to incorporate in the
if statement that the GUID string may not exist at all. Could anyone help me
in figuring this out?
Thank You
<cfscript>
if (mid("#URL.CSID#",2,1) NEQ "c")
tmp = "<IMG height=30 src=images/toolbar_09_in.gif width=73>";
else
tmp = "<IMG height=30 src=images/toolbar/toolbar_09_out.gif width=73>";
</cfscript>
<cfoutput>
#tmp#
</cfoutput>
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
More information about the thelist
mailing list