I have a client who is using their aol account and likely Windows to
access their site.
I have a form that allows people to sign up and another to update their
information.
In the forms I have checkboxes for them to select which "groups" they
want to be a part of.

<!--- Update Example --->
<input type="checkbox" name="consignor" <cfif
qryCOSinthissale.recordcount gt 0>checked</cfif> >
<!--- New user example
<input type="checkbox" name="consignor" >

When the records are added and or updated to the DB, at the first of
the query I set a session var for each checkbox option to "No"
<!--- add new user reset session var example: Update reset is the same
--->
<cfset session.cosignor = "No">

and once the logic gets to the part for determining if and what boxes
have been checked for each one that exists and is checked it resets the
session var for that group to "Yes"
<cfif isdefined('form.consignor')>
<cfset session.consignor = "Yes">
          Blah, blah, blah...
</cfif>

so it can be accessed in an email confirmation that is sent to the user.
<cfparam name="session.consignor" default ="No">
Etc, etc.
<cfif session.consignor eq "Yes">Yes!<cfelse>No</cfif>

It works great for me even when I sign up multiple people in one
session.

However, when my client does it it is like some of the session "group"
vars are getting stuck and not resetting each time to "No"

Any thoughts or ideas?

Thanks,
Drew Harris
CEO: Quantum Delta
me: http://QuantumDelta.com/files/DrewHarris.vcf
my company: http://QuantumDelta.com
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to