> Suppose I've got some queries cached that I'd like to reload
> for one session based on a flag being set by another
> session. In other words, Joe user is working along and Joe
> admin decides to change something that should affect the
> queries the user is working with. I'd like the admin to be
> able to set a "dirty data flag" and then the admin CF code
> look through the available sessions for ones produced by the
> user side of the app and set a flag in each of those which
> would force a requery in the user's side.
>
> So, are session variables in the same app available in _any_
> way to any other session?

No, but with a little work, you could accomplish the same thing by placing
flags in the Application scope. For example, you could write the Session ID
to an Application array, which would be looped over by your admin code.

Just remember to lock all accesses to memory variables with CFLOCK.

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

------------------------------------------------------------------------------
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