On Sat, 27 May 2000 11:40:09 -0400, "Levi Wallach" <[EMAIL PROTECTED]> wrote:
  All I wanted to do was to set a cookie when
> someone logged in that has their userid, and then remove it when/if they log

One word, client variables, ok, two words then :-)  Client variables can be stored in 
a cookie, and working with them is as easy as session variables with the limitation 
that only simple values may be stored (and browsers impose limits on the amount of 
data stored in a cookie, but for just a useridd etc you shouldn't have a problem).  I 
don't have my CF refs handy, but this is off the top of my head.

<!--- Set application stuff --->
<CFAPPLICATION NAME="Borky" CLIENTSTORAGE="Cookie" CLIENTMANAGEMENT="Yes" 
SETCLIENTCOOKIES="Yes">

<!--- Set stuff --->
<CFSET Client.UserID = "Thier User ID">
<CFSET Client.Password = "Thier Password">

<!--- Read stuff --->
<CFOUTPUT>
  #Client.UserID#
  #Client.Password#
</CFOUTPUT>

<!--- Delete stuff --->
<CFSCRIPT>
  DeleteClientVariable("UserID");
  DeleteClientVariable("Password");
</CFSCRIPT>

------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to