This is a very odd problem....

We have a site that uses a wildcard subdomain, as many different agents use
the same dynamic site.

Whenever you have a url with an underscore ( _ ) in the name I get the
following when I try to login using the CFLOCK and CFCOOKIE comands:

1) On Firefox I can login fine with no problem

2) On IE it tells me Cookie.ID is undefined. I take the same site, delete
the _ and it works with no problem. So it is only sites with an _ in the
subdomain and on IE that I get this problem.

Here is the CFLOCK / CFCOOKIE code:

<cfif not IsDefined("Cookie.ID")>
<CFLOCK SCOPE="SESSION" TYPE="READONLY" TIMEOUT="5">
<CFCOOKIE NAME="ID" VALUE="#getLOGIN.id#">
<CFCOOKIE NAME="EMAIL" VALUE="#getLOGIN.email#">
<CFCOOKIE NAME="FIRSTNAME" VALUE="#getLOGIN.first_name#">
<CFCOOKIE NAME="LASTNAME" VALUE="#getLOGIN.last_name#">
<CFCOOKIE NAME="EXIST" VALUE="#getLOGIN.recordcount#">
<CFCOOKIE NAME="ACTIVE" VALUE="#getLOGIN.active#">
<CFCOOKIE NAME="REF1" VALUE="#getLOGIN.ref1#">
<Cfif getLogin.ref1 eq 'CruisesInc' or getLogin.ref1 eq 'CruiseOne'>
<CFCOOKIE NAME="SITEURL"
VALUE="#getLOGIN.ref2#">
<cfquery name="getagent" datasource="nms_gc">
SELECT *
FROM cruise_agents
WHERE rewards_entry_url =
'#getLOGIN.ref2#'
</cfquery>
<CFCOOKIE NAME="MAINURL" VALUE="#getAgent.cruise_url#">
<cfelse>
<CFCOOKIE NAME="SITEURL"
VALUE="#getAff.url#">
<CFCOOKIE NAME="MAINURL"
VALUE="#getAff.mainurl#">
</Cfif>
</CFLOCK>
</cfif>

Thanks for any help!