Professional Web Applications Themes

How to capture url? - Macromedia ColdFusion

I'm trying to generate a PDF using CFMX7, and using the CFHTTP tag. In the file that generates the PDF, and has the CFHTTP tag, I am passing the entire url as a variable. My question is this, how can I capture the url of the page that I'm on currently, store it to a variable that will then be passed on to the page that generates the PDF?? Steve...

  1. #1

    Default How to capture url?

    I'm trying to generate a PDF using CFMX7, and using the CFHTTP tag. In
    the file that generates the PDF, and has the CFHTTP tag, I am passing
    the entire url as a variable.

    My question is this, how can I capture the url of the page that I'm on
    currently, store it to a variable that will then be passed on to the
    page that generates the PDF??

    Steve
    Steve Grosz Guest

  2. #2

    Default Re: How to capture url?

    Take a look at a couple of CGI variables - CF_TEMPLATE_PATH and CGI.SCRIPT_NAME to see if they will work for you.
    jdeline Guest

  3. #3

    Default Re: How to capture url?

    If you have a link from the first page to a second page that generates a PDF, the second page should be able to get the first page's URL with this variable: CGI.HTTP_REFERER

    -Paul
    dempster Guest

Similar Threads

  1. Web Capture Pro 7.0.7 - No Can Do
    By Dale_Hoffman@adobeforums.com in forum Adobe Acrobat Macintosh
    Replies: 4
    Last Post: September 23rd, 12:29 AM
  2. Web capture and PNG files
    By Michael_Fagan@adobeforums.com in forum Adobe Acrobat Windows
    Replies: 0
    Last Post: April 23rd, 09:28 PM
  3. Is it possible to capture video...
    By newecho in forum Macromedia Flash Actionscript
    Replies: 0
    Last Post: February 16th, 09:20 PM
  4. 3D Capture
    By GONS in forum Macromedia Director 3D
    Replies: 3
    Last Post: October 15th, 05:37 PM
  5. Web site capture....
    By John Albert in forum Mac Networking
    Replies: 1
    Last Post: June 28th, 02:37 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139