Hey Guys I have been searching everywhere on this and I can't seem to figure
this out. I am only familiar with using CF Cookies in the standard way but I
have this asp site that I am having to port over to CF and I need to write
cookies in CF much the same way we did using ASP. But it seems that with ASP
you can give the Cookie a general name to refer to it by. But I am having a
hard time figuring this out in CF or if it's even possible. 
 
Here is an example of our ASP Cookie... 
 
  Response.Cookies("RSHold")("AgentNumber") = RSAgent("AgentNumber") 
  Response.Cookies("RSHold")("AgentName") = RTrim(RSAgent("AgentFirst"))+ "
" + RTrim(RSAgent("AgentLast")) 
  Response.Cookies("RSHold")("Rank") = RSAgent("CurrentRank") 
  Response.Cookies("RSHold")("EntityID") = RSAgent("EntityID") 
  Response.Cookies("RSHold").Path="/" 
 
I need to build this same Cookie using CF but cant figure it out. Am I
missing something?
 
This is what I have so far for CF but it's not the same... 
 
<cfcookie name="AgentNumber" value="#AgentNumber#" expires="now" path="/">
<cfcookie name="AgentName" value="#AgentFirst# #AgentLast#" expires="now"
path="/">
<cfcookie name="Rank" value="#CurrentRank#" expires="#EntityID#"  path="/">
 
Any help on this would be grateful thanks. 
 
Neal Bailey
Internet Marketing Manager
 


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