Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Coldfusion forms retain information. Information shows on multiple computers

Guest
Jun 11, 2008 Jun 11, 2008
Hopefully this is the correct forum to address this problem.

I am working on a website that has one form that uses coldfusion to post information to a database. This form saves the information correctly and is linked to 50 or so pages. But there is a troubling issue.

When a person fills out the form on a newly create page (name, address, phone number etc)...their information stays in the form field boxes, even on other computers.

So if I fill out a form and a co-worker goes to that same page on their computer, my information will appear on his computer. This remains the case until my original computer is rebooted.

I am not a coldfusion programmer and though I have been reading tutorials and trying a few tags (no-cache type of stuff) I cannot fix this problem.

If you know what is going on and can help me fix it please write out the directions very clearly step by step- I need to know right where the tags and coding should go.


Here is the code from the form. Does there need to be another line of code that prevents the information from being displayed on the next computer? The information from the form gets posted to SQL ( I use enterprise manager to access the database).

<cfform action="/main/forms/contactresponse.cfm" method="post">
<table width="80%" border="0" align="center" cellpadding="0" cellspacing="1">
<tr>
<td id="formlabel"><span class="formrequired">*</span>First Name:</td>
<td id="formfields"><cfif isDefined('SESSION.SFirstName')><cfinput required="Yes" message="Please enter first name!" name="FirstName" type="text" id="FirstName" size="40" maxlength="100" value="#SESSION.SFirstName#">
<cfelseif NOT isDefined('SESSION.SFirstName')><cfinput required="Yes" message="Please enter first name!" name="FirstName" type="text" id="FirstName" size="40" maxlength="100"></cfif>
176
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jun 12, 2008 Jun 12, 2008
Please help!
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jun 13, 2008 Jun 13, 2008
LATEST
Read the manual regarding the use of Session Variables. That will get you going in the right direction. The manual is easy to find on the internet.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources