> >You'll want to be careful using StructClear even with the 
> Session scope, as
> > CF creates some Session information that you wouldn't want 
> > to delete in CF 4.5.x.
> 
>    Unless of course you truly are trying to get rid of that 
> session.  (correct?)
> 
> I have been using this code:
> 
> <CFLOOP collection=#session# item="tempkey">
>          <CFOUTPUT>#tempkey# #structfind(session,  
> tempkey)#</CFOUTPUT><BR>
> </cfloop>
> 
> to keep track of session variables during development. I keep 
> it in the root directory of the application. If I ever want to 
> look at my session variables I just run it. The session 
> information that ColdFusion 4.5.x creates is:
> 
> session.CFID 5
> session.CFTOKEN 87923860
> session.SESSIONID appname_cfid_cftoken
> session.URLTOKEN CFID=5&CFTOKEN=87923860
> 
>   Based on the comments of Dave (Or should I call you Mr 
> Watts?) I imagine that these were not created in previous version 
> of CF. If you wipe out all of these, you lose your session. I've 
> never experimented with wiping out either of them individually.

If I recall correctly, if you delete these variables, you might get
unexpected behavior. I don't think the variables themselves are new, but I
think that StructClear in CF 4.0.x didn't delete them.

There's an Allaire KB article on it here:
http://www.allaire.com/Handlers/index.cfm?ID=14143&Method=Full

I think that the issue is, when you delete these "system" session variables,
CF may get very confused on subsequent page requests.

As for what to call me, just don't call me late for dinner.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To unsubscribe, send a message to [EMAIL PROTECTED] with 
'unsubscribe' in the body or visit the list page at www.houseoffusion.com

Reply via email to