RE: (ot) passing URL parameters

2011-01-07 Thread Stephens, Larry V

My issue was calling a page that sent me an Excel (actually a CSV) file with 
passed parameters via the URL. I was getting a page not found error *unless* 
I introduced an error (like changing the name of one of the URL variables). 
Then I would get an error page.

My conclusion was that the page not found error was erroneous and something 
else was the problem.

One suggestion was:

Most probably a caching issue, the 404 page is cached in the browser or an 
intermediate proxy.


Turns out that was not the issue. Since you're creating a CSV file (my host 
doesn't have the latest CF version) you use #chr(13)# and #chr(44)# for 
linefeeds and commas. Turns out I had a typo and had #chr13# in one place, so 
the error was a variable not found error that I finally found after stripping 
out all the file creation language.

Just an FYI in case you find yourself in the same boat.

~|
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:340558
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: (ot) passing URL parameters

2011-01-06 Thread Mack

Most probably a caching issue, the 404 page is cached in the browser
or an intermediate proxy.

-- 
Mack

~|
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:340499
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


(ot) passing URL parameters

2011-01-05 Thread Stephens, Larry V

Not strictly CF but at least it's in a CF program...

a href=AnotherPage.cfm?id=4duh=somethingdit=else

In AnotherPage.cfm are references  #URL.id#, etc.

If everything (at least as far as the URL references) is correct, I get a page 
not found error. If I intentionally cause an error, say by leaving out 
dit=else, then the page is found and the error is displayed.

If germaine, the page I'm calling outputs an Excel file...

I'm at a loss.

Larry Stephens

~|
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:340480
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm