Thanks for the help.
I could use cookies, and it works fine for them, but am not allowed to for
this project. I figured out that I included a cfset when I originally set
up the page that was basically overwriting my variables each time the
index.cfm page loaded.
Everything is working fine now.
Thanks again,
David Henry
HPER Technology Services
School of Health, Physical Education and Recreation
Indiana University
(812)855-4270
[EMAIL PROTECTED]
-----Original Message-----
From: Douglas Smith [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 04, 2000 12:57 PM
To: Fusebox
Subject: Re: Question about session variables
While we would need to see the code and page results to really debug this
for you, here is a guess:
1) You may have accidentally hardcoded the CFID and CFTOKEN in the URL or
FORM you are submitting.
2) Alternately, a CFID and CFTOKEN are already present on the CLIENT'S
machine, and are overwriting the expected values you think they should have.
Also, you may need to learn a little more about how CF works: the CFID and
CFTOKEN are ONLY SET ONCE, the first time the user visits the web
site. They remain on the user's browser until you destroy them.
By the way, unless you are storing complex variables (queries, arrays or
structures), client variables work exactly the same as session variables,
and are superior to session variable for 2 reasons: 1) the don't required
locking 2) they work in a CF cluster.
At 11:45 AM 12/4/00 -0500, Henry, David B wrote:
>I must be slow, because I just don't get it. I have a client who wants to
>use session variables, but not client variables. She wants students to be
>able to submit their interpretation of various courses throughout the
>school. She wants the submissions to be annonymous, but she does not want
>the same user in the same session to submit more than 1 posting for a
>particular course.
>
>I thought I had everything set up properly, but every time the user clicks
>on the form, or passes information to another page, the cfid and cftoken
>changes. I need to be able to have the user submit info about one course,
>and then be able to submit info about another course in the same session.
I
>apparently can't get it to work without changing the cfid and cftoken
>values.
>
>Any help would be appreciated,
>
>
>
>
>David Henry
>HPER Technology Services
>School of Health, Physical Education and Recreation
>Indiana University
>(812)855-4270
>[EMAIL PROTECTED]
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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