Can't repost form data on one server - works on other server (Full Version)

All Forums >> [Web Development] >> Server Issues



Message


catwebster123 -> Can't repost form data on one server - works on other server (8/4/2006 13:05:32)

I have inherited a webpage that was done on Front Page and I know very little about Front Page! Anyway, here's what's happening:

There is a form that students fill out and then submit. Once they hit submit, they are shown a copy of their answers. If they want to change something, they right click and hit 'back'. The form is filled back in with their previous answers and they can change them and then hit submit again.

The problem is that it works on one server, but on the other server the form won't fill back in. Both servers are windows server 2000 and on both servers the files have the same permissions.

I looked at the file on the servers that the answers are put into for the purpose of reposting them, and both servers are creating the file.

Here is the code for the form:

<form method="POST" action="../../../_vti_bin/shtml.dll/101lab/lab1/problems/problems.htm" onSubmit="" webbot-action="--WEBBOT-SELF--" WEBBOT-onSubmit> <!--webbot bot="SaveResults" U-File="../../../_private/form_results.txt" S-Format="TEXT/CSV" S-Label-Fields="TRUE" B-Reverse-Chronology="FALSE" S-Builtin-Fields U-Confirmation-Url="confirmation.htm" startspan --><input TYPE="hidden" NAME="VTI-GROUP" VALUE="0"><!--webbot bot="SaveResults" endspan i-checksum="43374" -->

If anyone could help me, I would really appreciate it!




caywind -> RE: Can't repost form data on one server - works on other server (8/7/2006 4:48:03)

first impression, guess?

this doesn't match on both servers
action="../../../_vti_bin/shtml.dll/101lab/lab1/problems/problems.htm" 


in other words, the path to the file is different on one server than the other.

Also, if that doesn't match, then the other line:
File="../../../_private/form_results.txt" S-Format="TEXT/CSV
probably doesn't match either




catwebster123 -> RE: Can't repost form data on one server - works on other server (8/7/2006 10:51:38)

Thanks for the response! I compared the two files and they are both the same. Any other suggestions?

Thanks,

Cat




caywind -> RE: Can't repost form data on one server - works on other server (8/8/2006 4:20:10)

What I meant is that yes the file is the same on both servers, but are the servers both the same.

The ../../../stuff means that the file is located in a subfolder of a subfolder of a folder. If that "path" is not the same on both servers then the function probably won't be able to fill in the data in the form, because it can't find it. It's "path" is different.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.078125