haven't tested the syntax, but something like this should do it: <cfif FIND(COOKIE.DisplayGroups,"Administrators") gt 0>
<cfelseif FIND(COOKIE.DisplayGroups,"Tax") gt 0> etc. -----Original Message----- From: phumes1 [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 24, 2002 2:04 PM To: [EMAIL PROTECTED] Subject: Re: Checking contents of cookie Hi, I have the following text which I've previously saved into a cookie. How can I check the contents of the cookie to see if "Administrators" exists? I will also need to check if Tax, or Legal also exist. Basically if "Administrator" exists do this... else if "Tax" exists do this... else COOKIE.DisplayGroups = Administrators, Users, Tax, Legal +----------------------------------------------------------------------- ------------+ Philip Humeniuk [EMAIL PROTECTED] [EMAIL PROTECTED] +----------------------------------------------------------------------- -------------+ ------------------------------------------------------------------------ - This email server is running an evaluation copy of the MailShield anti- spam software. Please contact your email administrator if you have any questions about this message. MailShield product info: www.mailshield.com ----------------------------------------------- To post, send email to [EMAIL PROTECTED] To subscribe / unsubscribe: http://www.dfwcfug.org ------------------------------------------------------------------------- This email server is running an evaluation copy of the MailShield anti- spam software. Please contact your email administrator if you have any questions about this message. MailShield product info: www.mailshield.com ----------------------------------------------- To post, send email to [EMAIL PROTECTED] To subscribe / unsubscribe: http://www.dfwcfug.org
