If you maintain state through URLs by writing something like...
<A HREF="somepage.cfm?#session.AddToken#">somepage</A>
is it wrong to write this for forms...
<FORM ACTION="somepage.cfm?#session.AddToken#" METHOD="post">
??
The above works, but should I be writing...
<FORM ACTION="somepage.cfm" METHOD="post">
<CFIF Len(session.AddToken)>
<INPUT TYPE="hidden" NAME="CFID" VALUE="#session.CFID#">
<INPUT TYPE="hidden" NAME="CFTOKEN" VALUE="#session.CFTOKEN#">
</CFIF>
<other form elements here...>
Thanks
--
Aidan Whitehall <[EMAIL PROTECTED]>
Netshopper UK Ltd
Advanced Web Solutions & Services
http://www.netshopperuk.co.uk/
Telephone +44 (01744) 648650
Fax +44 (01744) 648651
------------------------------------------------------------------------------
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.