It doesn't work if you use hidden form fields, you need to append the token
to the file portion within the form tag:
<form action="somepage.cfm?<cfoutput>#session.urltoken#</cfoutput>"
method="post">
.... etc.
Steve
-----Original Message-----
From: Peter Lutwyche [mailto:[EMAIL PROTECTED]]
Sent: 26 January 2001 12:27
To: CF-Talk
Subject: CFID and CFTOKEN, client variables, hidden form fields
Apologies if this one has been asked before, but I couldn't find an answer
in the archives.
I would like to maintain state using Client (or Session) variables but do
not want to use cookies. I know I am therefore reliant on the CFID and
CFTOKEN being passed from page to page. What I would like to do is pass CFID
and CFTOKEN as hidden form fields, rather than as URL variables. So far I
have been able to create my forms containing a hidden CFID and CFTOKEN, but
on submission of the form I'm unable to access any Client (or Session)
variables using the ID and TOKEN. Has anyone managed to achieve this, and if
so, would you be able to post a snippet of code?
Cheers
Pete
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=sts
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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