I am trying to store a list of domain names searched, with corresponding
suffixes (.com, .net, .org etc.) and a value assigned to each suffix
(e.g. 0 for taken, 1 for available, 2 for wanted)
 
I think a structure would be the best way to store this, although I have
never used structures before. I am having trouble trying to create
values.
 
e.g. when i do a search on MYDOMAIN.net and it is found to be available
I use <cfset session.domainlist.[domain].net = 1>
 
However, I don't know how to insert the value of the searched domain so
that it would be inserted into the above command, e.g. <CFSET
SESSION.DOMAINLIST.MYDOMAIN.NET = 1>
 
I have two questions:
 1) Am I using the most appropriate way of storing the information
needed - if not, what should I use?
 
 2) How do I write the code to achieve the above CFSET command?
 
 
Cheers
 
Seth

________________________________________________________________________
This message has been checked for all known viruses, by Star Internet,
delivered through the MessageLabs Virus Control Centre.
For further information visit:
http://www.star.net.uk/stats.asp

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebarRsts&bodyRsts/cf_talk or send a message 
to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to