I would use a session variable that changed upon the decision of an
if statement like this...
<cflock type="exclusive" scope="server" timeout="3">
<cfif isDefined("client.Complete") and Complete is "Yes">
<cfset session.FormsOk = 1>
<cfelse>
<cfset session.FormsOk = 0>
</cfif>
</cflock>
maybe? and a question I have from this, would you need to lock
the session var activity inside that server lock?
..tony
Tony Weeg
Senior Web Developer
UnCertified Advanced ColdFusion Developer
Information System Design
Navtrak, Inc.
Mobile workforce monitoring, mapping & reporting
www.navtrak.net
410.548.2337
-----Original Message-----
From: Janine Jakim [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 06, 2002 2:20 PM
To: CF-Talk
Subject: Client Variable Question
I generally make client variables those that aren't going to change
while the user is logged in. (ie:Group type=admin/etc) I have an app
that will have several different forms per student. (some with one to
many relationships/some with one to one).
If a case manager says the forms are complete =All forms except one
becomes read only.
If the case manager says they are not complete = All forms can be edited
by a variety of users. I'm wondering what type of variable this
Complete=Y/N should be...
It will have to follow each student through all the forms, but reset
when a new student is chosen. I'm assuming client variable isn't
appropriate for this....
Thanks for the input.
j
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm