I am converting a hidden variable to session variable. I am setting a session
variable when a page loads. The page consists of a form
<cfset session.host = cgi.remotehost>
When the form is submitted, the session variable is saved to a file. The form
submits to the same page except there is a condition,
<cfif isdefined("form.submit)">
<cfinclude template="savetofile.cfm">
</cfif>
The problem is when I submit the form on my computer, the session variable
exists and form submission works fine. But when I asked some other people at my
office to test, they get 'Element host is undefined in session' on form's
submission.Looks like it is failing in savetofile.cfm. Why could this be
happening?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355026
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm