Results 1 to 2 of 2
  1. #1
    Abina's Avatar
    Abina is offline Master
    Join Date
    Dec 2009
    Location
    United States
    Posts
    1,073
    Thanks
    1
    Thanked 6 Times in 4 Posts
    Feedback Score
    0

    Default Cold fusion XML please help.

    Hello,

    I created a webpage on server 1 (server1.com/form.cfm) with Yes/No field, Yes to be checked by default and store this in session. When I click on "Submit" from this form, it points to another server (ex: server2.com/action.cfm). From server1, it initializes and manages variables by assigning session values and form values to session variables.

    I created a another file called "req.cfm" using XML to capture these values.

    When i view a report online from Server2, there are 'Unknown' values, instead of Yes/No values.

    Can anyone please help me? why have 'Unknown' values on the output?

    here is my code:

    <input name="iconsent" id="a_yes" type="radio" value="yes" checked>I authorize<br />
    <input name="iconsent" id="a_no" type="radio" value="no">I do not authorize
    -----------------------------
    req.cfm
    <cfif not IsEmpty("session.consent")><cfset remote["consent"]=#trim(session.consent)#></cfif>

    Thanks.

  2. #2
    numberone's Avatar
    numberone is offline Senior
    Join Date
    Jan 2010
    Posts
    623
    Thanks
    0
    Thanked 1 Time in 1 Post
    Feedback Score
    0

    Default

    You're not really explaining the problem very well - If you're posting variables from server1 to server2, then req.cfm on server1 will never have those form values defined. Of course, you're also saying that you use xml to capture these values, which isn't possible. Are you trying to send server2 a wddx packet or something old-school like that?

    The other issue you've got is that the session information on server1 isn't the same as the session information on server2 - they're different. If you're setting session variables on server1, server2 will not have access to them.

    If you can post more code, like the code to all three files, then that would help someone help you out.

Similar Threads

  1. I m new to cold fusion...
    By Abina in forum ColdFusion
    Replies: 4
    Last Post: 12-29-2010, 02:10 AM
  2. Introduction to coldfusion
    By krates98 in forum ColdFusion
    Replies: 9
    Last Post: 12-17-2010, 05:43 AM
  3. Securing documents on Cold Fusion Web Site
    By Abina in forum ColdFusion
    Replies: 1
    Last Post: 02-02-2010, 11:24 AM
  4. Need cold fusion help
    By vikas1234 in forum ColdFusion
    Replies: 0
    Last Post: 10-06-2009, 01:30 PM
  5. Replies: 1
    Last Post: 09-29-2008, 07:25 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Partners: BOSTON WEB DEVELOPER, LLC   |   WEBCOSMO CLASSIFIEDS