House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  ColdFusion Talk (CF-Talk)

Known MX bug or have I found one? URL threadID in CFLOCATION

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Jim Davis
12/05/2002 03:20 AM

I'm in the unenviable position of trying to get the forum system from www.stickshiftsolutions.com to work on MX.  (It's for my brother's racing site, www.grapeaperacing.com).  I'm not pleased with it (many bugs, some outright omissions and really poor, I think, code). However the thing that I just struggled with doesn't seem to be the fault of the author. There's a CFLOCATION formatted as: <cflocation url="thread.cfm?tID=#Form.threadID#&forumID=#URL.forumID#&confID=#url.co nfID#" addtoken="No"> Which results in something like: http://www.grapeaperacing.com/GrapeApeRacing/OpenForums/thread.cfm?threa dId=165&forumID=21&confID=1 The weird thing is that this link produces a completely blank page - as if the browser was never given a response (you can't éven "view source" - it's just nothing). I tried passing the parameter with no variables (just copy/paste the actual URL) and this completely fails in the same way.  However if you remove the "threadID" parameter the Cflocation works (you get an error, but at least you get something!) Add it in, blank page, remove it - error page (correct). Again this was even with a hardcoded value and even if the parameter was alone on the line.  It happens only with a CFLOCATION. Now for the fun part.  Take ANY CFLOCATION and add "threadID=1" (or any number) to it and it seems to have the same behavior.  I've tried this on the two MX servers that I have and both showed the same behavior.  It doesn't exhibit the behavior on 4.5. Is this old news? By the way.  What I did to "fix" this was change the param to "TID" and add the following line of code in the page: <cfif IsDefined("URL.TID")><cfset URL.threadID = URL.TID></cfif> Not pretty but it works and means that I don't have rewrite any more of this app. Jim Davis

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Sean A Corfield
12/05/2002 03:31 AM

On Thursday, Dec 5, 2002, at 00:17 US/Pacific, Jim Davis wrote: > http://www.grapeaperacing.com/GrapeApeRacing/OpenForums/ > thread.cfm?threa > dId=165&forumID=21&confID=1 > > The weird thing is that this link produces a completely blank page - as > if the browser was never given a response (you can't Èven "view source" > - it's just nothing). I tried this URL and it works just fine (Mac IE 5.2.2). Identical behavior with tID= instead of threadId= Sean A Corfield -- Director, Architecture Web Technology Group -- Macromedia, Inc. tel: (415) 252-2287 -- cell: (415) 717-8473 aim: seancorfield -- http://www.macromedia.com An Architect's View -- http://www.corfield.org/blog/ Introducing Macromedia Contribute. Web publishing for everyone. Learn more at http://www.macromedia.com/contribute

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Jim Davis
12/05/2002 03:39 AM

Thanks for the test.  The pasted "threadID" link worked some of the time, but the "tID" should always work (that’s the fix). But put the "threadID" in any CFLOCATION on an MX server and (I hope!) you'll see what I mean. Jim Davis ----- Excess quoted text cut - see Original Post for more -----


<< Previous Thread Today's Threads Next Thread >>

Search cf-talk

May 24, 2012

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
     1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31     

Designer, Developer and mobile workflow conference