troubleshooting Question

Script works until the .asp filename changes

Avatar of net-workx
net-workxFlag for United Kingdom of Great Britain and Northern Ireland asked on
ASP
11 Comments3 Solutions396 ViewsLast Modified:
This one has had be stuck literally for 10 hours soild and i still dont have a clue what is causing it.

I have an asp script file which resides in the location:

/common/sagepay/notificationPage.asp

This file has things "POST"ed to it from a form/third party system and this script does something with the posted data.  (before its suggested changing the submission to a GET is not possible.

The code in the file does a Request.Form("FieldName") and then does something with the data, the problem was that the Request.Form isnt pulling the data from the submission, even though it is definatly being sent to the script.  I was scratching my head for hours on this one and can tell you that:

If i move the notificationPage.asp code up a level in the directory tree, or put it in the root of the site, the code still does not work.  If i remove all other code from the file and just do a simple Response.Write of one of the submitted fields, it does not work.

If however i change the file name from notificationPage.asp to results.asp or anything other (like x.asp etc) then the the Request.Form works.

rename the file back to notificationPage.asp and it stops working again.

I have recreated the code files in notepad through the code editor to ensure not permission issues or anything bizzare but still no joy.

Am i being stupid and missing something simple?  Can anyone shed some light?!!!
ASKER CERTIFIED SOLUTION
G_H

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 3 Answers and 11 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 3 Answers and 11 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros