You don't have to use cfcookie to set a cookie, you could for example use cfheader or even javascript, but you can't use cfset - it just sets the value for a variable (and creates it if necessary) on the server, it does not send anything to the client. Stick with cfcookie, it'll make your code more readable than setting your cookies some other way.
Mark
OK: these are persistant (text) cookies
<cfcookie name="person.name.first" value="Fred" expires="never"> <cfcookie name="person.name.last" value="Flintstone" expires="never">
can the same be done using cookie scope? <cfset cookie.person.hometown="Bedrock">
using <CFSET /> still adds it to the cookie struct but "expires=never" isn't a valid attribute when used this way...
so, is using <CFCOOKIE /> the only way to store them as a text-based cookie?
thanx barry.b
--- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED]
MX Downunder AsiaPac DevCon - http://mxdu.com/
--- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED]
MX Downunder AsiaPac DevCon - http://mxdu.com/
