Give this a try




<CFIF IsDefined("Client.CFTOKEN") OR IsDefined("Client.CFID")>
    <CFSET DeleteClientVariable("CFTOKEN")>
    <CFSET DeleteClientVariable("CFID")>
</CFIF>
<CFIF IsDefined("Session.CFTOKEN") OR IsDefined("Session.CFID")>
    <CFSET StructDelete(Session, "CFTOKEN")>
    <CFSET StructDelete(Session, "CFID")>
</CFIF>
<CFIF IsDefined("Cookie.CFTOKEN") OR IsDefined("Cookie.CFID")>
    <CFCOOKIE NAME="CFTOKEN" EXPIRES="NOW">
    <CFCOOKIE NAME="CFID" EXPIRES="NOW">
</CFIF>




----- Original Message -----
From: <[EMAIL PROTECTED]>
To: "Fusebox" <[EMAIL PROTECTED]>
Sent: Sunday, April 22, 2001 1:31 PM
Subject: Deleting client variables


> Can anyone tell me the best way to delete all client variables for a user?
>
> I've tried using GetClientVariableList and DeleteClientVariable, but I'm
> somehow getting corrupt CV names (possibly from CF_RETURNFUSEACTION?).
>
> I've tried setting the DATA field to NULL in the database for that user,
but
> I'm getting strange errors after that.
>
> Any ideas?
>
> Thanks,
> Shannon
>
> Shannon Hicks, Senior Developer
> Allaire Certified ColdFusion Developer
> Brainbench Certified Master ColdFusion Developer
> duoDesign eBusiness Architects
> Design : Develop : Deploy
>
> 847-491-3000 main    :  [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> 847-491-3100 fax     :  www.duodesign.com <http://www.duodesign.com>
> 847-491-7128 direct  :  www.chicagoangels.org
<http://www.chicagoangels.org>
>
>
>
> -----Original Message-----
> From: Hal Helms [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, April 21, 2001 10:43 PM
> To: Fusebox
> Subject: RE: Storing CF Code in the database
>
>
> I worked with Rick Moon recently on architecting a Latin America portal
for
> Fox where we wanted to do the same thing. We ended up creating a RAM disk
> and writing the CF files to this. It was VERY fast, as you might imagine.
>
> Hal Helms
> Team Allaire
> [ See www.halhelms.com <http://www.halhelms.com>  for info on training
> classes ]
>
>
> -----Original Message-----
> From: Tim Lieberman [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, April 21, 2001 8:40 PM
> To: Fusebox
> Subject: Storing CF Code in the database
>
>
> I'm working on a pretty nice system for content management here.
>
> The problem I'm having, is I would like to be able to store CF templates
> in my database, and have CF parse them.  The reason for this is that I've
> written custom tag interfaces to various "elements" that site admins can
> use to do things like insert images in an article without resorting to
HTML.
>
> Is there a way to do this, besides writing a temp file to disk and then
> including it via CFINCLUDE?
>
> It would be really nice to have a ParseCFML function which would take a
> string
> and treat it like input. Leave non-CFML content alone, and execute any CF
> content.
>
> Can this be done?
>
> TIA
>
> -Tim
>
>
> Archives: http://www.mail-archive.com/[email protected]/
> Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to