CFFORM method=GET behaves differently in CFMX6.1 than in CF 8 ?

Hi Everyone,
My organization is in the process of testing applications for a move from CFMX6.1 to CF8, however, we've found there appears to be a difference between the way CFMX6.1 and CF8 handle the GET method in a CFFORM tag.
I'm not quite sure why our developers would have used the "GET" instead of "POST" to begin with. In the application I'm currently testing, I've found that all but one of the 50+ occurrences of "GET" can be changed to "POST" without issue. However, I am a little concerned with the many other apps we have and the amount of testing that would be required.
Here's what's happening:
CFMX6.1: An appended query string parameter is always part of the submitted url whether the ACTION is POST or GET.
CF 8: A query string parameter appended to a url in the ACTION attribute will be part of the submitted url when the METHOD is POST but not when the METHOD is GET.
To see the above mentioned difference, execute the example code below in both CFMX6.1 and CF8. While executing in CFMX6.1, you will notice when the NEXT button is pressed, the myTestParameter=123 parameter is present in the browsers address bar and the variable will be accessible in the resulting page. This will not be the case when running in CF8
<h3>Test CFFORM POST vs. GET (CFMX6.1 vs. CF 8)</h3>
<cfoutput>
    <table>
        <cfform method="get" action="/Bayerah/gettest.cfm?myTestParameter=123" >      
            <input type="hidden" name="mytestFormVariable" value="abc">
            <tr>
                <td>
                    The CFform tag which is displaying this text contains action="#CGI.Path_Info#?myTestParameter=123"
                    <br /><br />
                    <strong>CF 8</strong><br />                   
                    <p>
                        The query string parameter "myTestParameter=123" will be part of the url when the
                        METHOD is POST and the form is submitted but not when METHOD is GET
                    </p>
                    <br />
                    <strong>CFMX6.1</strong><br />                   
                    <p>
                        The query string parameter "myTestParameter" displays with both POST and GET
                    </p>
                    <br/><br />
                    Press Next to submit the form...
                </td>
            </tr>
            <tr>
                <td>
                    <input type="submit" value="Next">
                </td>
            </tr>
        </cfform>
    </table>
</cfoutput>
Thanks in advance.

Last word. I also think that url variables in the ACTION attribute should be honored.
Yes, I was torn about that.  Though there is really no need to use url parameters with method="get", it just seemed a little counterintutive. At least  given how one normally works with urls.  But after looking at the spec's, it seems like this is the intended behavior and that the parameters should be ignored.
http://www.w3.org/TR/html401/interact/forms.html#h-17.13.1
With the HTTP "get" method, the form data set is appended to the URI specified by the action attribute (with a question-mark ("?") as separator) and this new URI is sent to the processing agent.
Anyway, I am glad I could help.

Similar Messages

  • HTML Tag formatting is behaving differently in CC than CS6?

    Why is HTML Tag formatting is behaving differently in CC than it did in CS6, even though the settings are set the same?!??!
    I've double-checked the tag settings - they are absolutely the same between both versions, but when I use APPLY formatting to a page in CC, it completely mangles the tags formatting on ANY html file...
    What's going on?  Any way to get CC to act properly like it does in CS6??

    Can you provide code examples of what you mean by mangled?
    It could be that your code contains errors which DW is attempting to reconcile. 
    CSS - http://jigsaw.w3.org/css-validator/
    HTML - http://validator.w3.org/
    JavaScript - http://www.jslint.com/
    PHP -  http://phpcodechecker.com/
    Or perhaps your code format is not set-up the same in both apps.  Edit >  Tag Libraries.
    Nancy O.

  • Cal behaves differently in urxvt than in xfce terminal [Solved]

    See this picture?
    I think it is a problem with .Xresources, but my google-fu is failing me. I find not settings related to inverted colors.
    Last edited by ezzetabi (2015-05-29 08:06:49)

    Then the problem is elsewhere, and it turns out it is in tmux.

  • Why is my In design swatch panel creating swatches with different color builds than Pantone formulas

    I am working in ID CS5 now but I have seen this problem in older versions as well. After creating a swatch, either process or spot, and using any of the Pantone selection choices, I get a different formula build than what is in the Pantone books. For example; PMS 110 PC is 2/24/100/7 in the book, but in InDesign it formulates as 0/12/100/7. Doers anyone have info on this?
    S

    maybe just as well, we are getting CS6 this month
    CS6 includes Pantone+ Color Bridge libraries, which use CMYK Process definitions to simulate Pantone solid colors. The new solid library colors (i.e., Pantone+ Coated) are always defined as spot type with Lab definitions—you can no longer switch to CMYK definitions via Ink Manager for the those libraries.
    Pantone+ Color Bridge Coated defines 110 as process CMYK 2|22|100|8. It's not surprising Pantone is always changing the CMYK simulation builds because the appearance of CMYK depends on the printing conditions. Personally I would go for a color managed conversion, allowing that much black in a saturated yellow seems questionable.

  • Why do I get two different RGB equivalents for one CMYK color?

    I’m helping someone incorporate their blue logo into business cards and a branding guide. The Illustrator file they gave me of their logo is set to the CMYK color space, so I used these CMYK values for their branding guide. When I click on the RGB tab to see the converted values for the CMYK color, they are insanely different from the RGB equivalent I get when using an online color converter, like Adobe Kuler. In both InDesign and Illustrator, the CMYK values for the blue logo are 79, 56, 2, 0 and when I click on the RGB tab in InDesign or Illustrator, these programs tell me that the RGB equivalent is 69, 112, 179. However, when I use the Adobe Kuler website and plug in the CMYK values, the website (and other websites like it) tell me that the RGB equivalent to this CMYK color is actually 54, 112, 250. I’m not sure which RGB value is actually correct.
    That said, I tried plugging in the RGB values I get from the design software into the Adobe Kuler color converter, and I get totally different CMYK values than what the design software tells me. Which color values do I include on the client's branding guide?
    I've heard that blue colors are notoriously hard to convert between RGB and CMYK, and I'm wondering if that's why I'm getting these drastically different values from different color conversion tools. I've also read that different ICC profiles might affect the CMYK/RGB values in the design program, but I'm not well-versed in this. Please help!!

    the CMYK values for the blue logo are 79, 56, 2, 0 and when I click on the RGB tab in InDesign or Illustrator, these programs tell me that the RGB equivalent is 69, 112, 179.
    69|112|179 is the conversion you'll get using the default North American General Purpose Color Settings—or US Web Coated SWOP v2 converted to sRGB. As Willi implies there are many flavors of CMYK and RGB so different sources and destinations, as well as the conversion intent, will produce different results.
    So "branding" color this way doesn't really work because 79|56|2|0 CMYK will look very different on newsprint than it will on a GRAcol profiled press with glossy paper, and 69|112|179 RGB will look very different in a CC app with a ProPhoto RGB assignment then it will look in a web browser with no profile assigned.
    The best you can do is qualify the values—79|56|2|0 US Web Coated (SWOP) v2 CMYK = 69|112|179 sRGB IEC6196-2.1 RGB

  • My Apple TV was set up with a different Apple ID than I have for my ITunes Account.  In other words I have multiple Apple ID's.  How can get these accounts to sync up?

    My Apple TV was set up with a different Apple ID than I have for my ITunes Account.  In other words I have multiple Apple ID's.  How can get these accounts to sync up?

    If you wish to use home sharing then you need to setup the Apple TV under your ID.

  • Hi - for any photo, info in mountain lion shows a different file size than Photoshop does. I've tested with CS3 and CS6 and get the same problem. Doesn't happen with CS3 and OSX10.4 or any previous versions of Photoshop and OSX. Anyone know why?

    Hi - for any photo, info in mountain lion shows a different file size than Photoshop does. I've tested with both CS3 and CS6 on 10.8.2 and get the same problem. This doesn't happen with CS3 and OSX10.4 or any previous versions of Photoshop and OSX. Anyone know why?

    this one is actually a really rare symptom of a flaky connection to the ipod on a Windows PC. there's more going on in terms of hardware on nanos and 5th gens than in the earlier models ... so if the connection is flaky to precisely the right/wrong degree, itunes will see the ipod, but misidentify it as an earlier version of ipod.
    tracking down the cause of the flakiness can be tricky ... as you already know ...
    just checking. have you tried connecting with a different (known-good) USB cable? does that seem to have any impact on the rate of occurence of the problem?

  • ITunes will not show my purchases before October 18, when I had a different username.  How do I get the older purchases (more than 5,000) listed when my password is rejected and it won't issue a new one for that username?

    iTunes will not show my purchases before October 18, when I had a different username.  How do I get the older purchases (more than 5,000) listed when my password is rejected and it won't issue a new one for that username?

    Wow that was really quick, thank you so much.  Im not sure at all which version it was because i said it was around 4 years ago he bought it.  I know it isn't under his username, since he's a PC person (ugh) so i know its probably registered to one of our actual names.  isn't there some way to look it up since we did register it, because I'm not even sure where the disks are from when we bought it (we've moved a lot and also have two storage lockers, i know i would have kept it with other disks) but my cd rom drive is actually broken on my computer as well ( i think it got stepped on and is now squished and won't eject or run disks.)
    So is there anyway they can look up that its registered to one of our names since we did register it when we bought and installed it, or do i really have to find the disk with some sort of proof of purchase (i know there would be no receipt after all this time)
    either way, ill do what you suggested to the best of my abilities and thank you so much for answering my questions, i can't even open the program as its incompatible and find out the info from that) so I'm in a bit of a pickle and your response was so thorough and it didn't seem to be posted long enough to even write a well researched response, thanks, all the best,
    sarucia

  • Insert Stmt behaving differently within a PL/SQL block than independently

    I have an INSERT INTO statement that is behaving different within a PL/SQL block than it does if ran as an independent SQL query. When executed within a PL/SQL block the INSERT statement does insert rows, but only less than 50% of the rows returned by the SELECT statement used by the INSERT. There are no constraints and the only check on the destination table is a NOT NULL for supplier_id column.
    BEGIN
        INSERT INTO suppliers (supplier_id, supplier_name)
        SELECT account_no, name FROM customers WHERE city = 'Newark';
    END;Can anyone help me with this?
    Thanks

    Thought this sounded familiar:
    INSERT INTO statement that is behaving different within a PL/SQL block

  • PS1 String behaving differently - how to get only "/"?

    Hi there, let me first start with the 4 lines of code I use for my PS1 string (in bash)
    boBlack="\[\033[1;30m\]"
    boGreen="\[\033[1;32m\]"
    boCyanOnBlack="\[\033[1;36;40m\]"
    export PS1="$boCyanOnBlack"'${PWD%*/}'"$boBlack/$boGreen"
    Now what does this do?
    It will make a coloured string as part of my current working dir. (Prompt)
    Example:
    If i go to
    cd /home/shevegen
    then my prompt will look like:
    /home/shevegen/
    (I like the trailing / because I can copy/paste easier with it. )
    Now, the problem is when i am doing this:
    cd /
    then I am in /
    and while in konsole it works, in VTE this does not work.
    Does anyone know why this string behaves differently in
    VTE and Konsole? VTE for example does not show any
    / when you are in
    the / root dir
    PS: Anyone has a hint or knows why in VTE and in gnome-terminal this does
    not work?
    Last edited by shevegen (2007-03-19 12:10:39)

    Hi Dennis,
    thanks for your suggestion, unfortunately I already tried that and it didn't work. I have created several unique styles. Problem is, I need two diferent styles in *one paragraph* - one style for the "heading", which is consistent to the APA manual not an own paragraph (sorry, not my idea...), and another style for the following text. As my example above shows, the heading is followed by usual text and I may not press return after the heading and switch to a new paragraph..
    It has to look exactly like this:
    +heading in italics.+ Now heading is followed by usual text without changing the paragraph or starting a new line. Blurb blurb blurb whatsoever blurb blurb. The text goes on an on and an on you see.
    I can't format the heading differently than the text (because if I try, the whole paragraph is formatted this way) and so I can't add just the heading to the TOC. Do you see what my problem is? Got any other suggestion?

  • Hi, when typing on my macbookair keyboard, i get a different text than on the keyboard - for exemple, typing "t", i get "t(". Any clue how to solve that? Thanks a loy

    Hi, when typing on my macbookair keyboard, i get a different text than on the keyboard - for exemple, typing "t", i get "t(". Any clue how to solve that? Thanks a lot

    Correct - another example, when i type "1" it writes "A1".
    Hope this helps?

  • Why do I keep getting this message - it is simply not true. 'You are signed in with a different Apple ID than previously used with Podcasts. Do you want to sync these podcast subscriptions and stations?

    Why do I keep getting this message - it is simply not true. 'You are signed in with a different Apple ID than previously used with Podcasts. Do you want to sync these podcast subscriptions and stations?
    <Email Edited by Host>

    Please sign out of the iTunes Store by selecting
              Store ▹ Sign Out
    from the iTunes menu bar. Then sign back in.

  • Get a different gpu than intel 4000

    Can you buy the Mac mini OSX server with a different graphics card than the Intel HD 4000? 
    I have that card on my Windows laptop and it is not compatible with my video editing program's special effects.

    All Mac minis come with an integrated GPU that probably won't work with that application, because the Intel HD Graphics 4000 is the most recent GPU included in a Mac mini. Also, you cannot replace it.
    Your option is to go for the iMac with a NVIDIA GPU or a MacBook Pro, but note that all Late 2013 MacBooks Pro (except the high-end one) come with an integrated GPU.

  • Pdf duplication in Preview for Mac behaving differently

    When duplicating a PDF in Preview for Mac, a new image window would open that I could click on to select, then rename and save elsewhere. Just recently, seems like in the last few days, Preview now behaves differently. Now when I select duplicate, a duplicate document is created in the same window but shows as a thumbnail in the sidebar. This is confusing as it appears that Preview is trying to create a duplicate of the document at the end of the original. I don't appear to have received any updates from Apple that would account for this sudden change in behaviour (shows Preview last modified 18th November). I don't appear to be able to change this in Preview's Preferences. Can I revert Preview to the previous behaviour? (I'm using latest version of Preview in Yosemite on a 24" iMac).

    I always find that Preview can garble certain graphic elements or even slightly alter the over-all color of the PDF. However, I also find it is a lot quicker to deal with PDFs, especially when it comes to printing. Sometimes I get a PDF that I send to print on our Canon copier and I end up canceling the print job after 10-15 minutes because it's still processing. I open that same PDF in Preview and it prints in less than a minute. The same can be said of InDesign so on certain jobs I end up exporting as a PDF and printing from Preview. This might say a lot about Adobe's Printing Engine... (sorry, off-topic)

  • Why does "Link Media" behave differently when used as a keyboard shortcut vs when right clicked???

    Not sure whether anyone else is encountering this, but the "Link Media" command behaves differently when right clicked as opposed to when used as a keyboard shortcut.
    When you right click to select that option for an offline file, you get only the corresponding disconnected source media. But when you execute "Link Media" via a keyboard shortcut, PP brings up a huge list of all other offline media. Why does it only do that when you use the keyboard shortcut for "Link Media" but not when you right click "Link Media".
    I'd like to get the Link Media command to behave via the keyboard shortcut the same way it behaves when right clicked. I don't want to have to deal with relinking a hundred other files, but just the single offline file I'm working on.

    Among the alternatives not mentioned... Using a TiVo DVR, rather than the X1; a Roamio Plus or Pro would solve both the concern over the quality of the DVR, as well as providing the MoCA bridge capability the poster so desperately wanted the X1 DVR to provide. (Although the TiVo's support only MoCA 1.1.) Just get a third-party MoCA adapter for the distant location. Why the hang-up on having a device provided by Comcast? This seems especially ironic given the opinions expressed regarding payments over time to Comcast. If a MoCA 2.0 bridge was the requirement, they don't exist outside providers. So couldn't the poster have simply requested a replacement XB3 from the local office and configured it down to only providing MoCA bridging -- and perhaps as a wireless access point? Comcast would bill him the monthly rate for the extra device, but such is the state of MoCA 2.0. Much of the OP sounds like frustration over devices providing capabilities the poster *thinks* they should have.

Maybe you are looking for

  • How do I crop finished photo - PS CS 4?

    Hello - I've finished a photo and have flattened all the layers, and even unlocked the new flattened layer, and now I want to crop this photo, but when I go to Image, the crop feature is grayed out - how do I crop away unwanted portions of this photo

  • Double space issue in word 2010

    Hi, I am currently converting all my word 97 documents to word 2010. I need to mail merge the document. In the development mode of word the double space is present after period (Full stop). After generating the document through application , the doub

  • Using Linksys WRT54G as a wired network extender with Time Capsule

    I have been using the WRT54G as my primary home router with an Airport Express attached to it via Ethernet cable at the opposite end of the house to extend my network. I have recently purchased a Time Capsule, which I plan to make my primary router,

  • Clearing dynamically generated mc

    I'm still working on getting what I had working in AS2 working in AS3 - hehe looks like "***" doesn't it? I'm playing with the drawing api sample provided by Adobe to try and work it all out. My particular problems are based on getting things to work

  • ReaderExtensions / Watched Folders / enableComments newbie question

    Hi there, I am currently using the Live Cycles ES Preview, while I wait for the full version to finish going through your licensing process. Here is my over-all goal: I would like to set up a watched folder that takes PDFs dropped into the input fold