Message-
From: Mark A Kruger [mailto:[EMAIL PROTECTED]
Sent: Saturday, September 23, 2006 10:54 AM
To: CF-Talk
Subject: RE: URL Parameter
Looking at your code I'd say it's time we moved you out of your moms
basement and get you access to some of that stuff - you are ready for
the big time :) It's
-Talk
Subject: RE: URL Parameter
Jon ,
I am a fairly low-level programmer, and by that I mean I never do any server
work or deal with IIS logging or anything of that sort. That is why I am
strongly opposed to things like Mapped Paths and installing java classes in
the java class path... Most
I have done that. I had to set up a 404 handler in IIS that would point
to a specific ColdFusion page. That page then looked at the URL, the 404
error in the CGI.query_string, set values and included the index.cfm
page (essentially).
You would need access to IIS for that though. Others might
Ben,
Would you be so kind to post the .cfm page you used when IIS Redirected 404's?
I have been looking for a solution just like this...
Thanks,
Dave
~|
Introducing the Fusion Authority Quarterly Update. 80 pages of
:[EMAIL PROTECTED]
Sent: Friday, September 22, 2006 12:43 PM
To: CF-Talk
Subject: Re: URL Parameter
Ben,
Would you be so kind to post the .cfm page you used when IIS Redirected
404's? I have been looking for a solution just like this...
Thanks,
Dave
That would be awesome, thanks Ben
Dave
-Original Message-
From: Ben Nadel [mailto:[EMAIL PROTECTED]
Sent: Friday, September 22, 2006 9:57 AM
To: CF-Talk
Subject: RE: URL Parameter
Dave,
My actual CFM page is super complicated because it integrates with a custom
framework that I
Wondering if anyone has done this before with just straight CF and not ISAPI
rewrites.
Want to create a url like -- http://www.somesite.com/64673
And then pull that 64673 off as a url parameter for querying and redirect?
Thanks
While there are complicated methods of doing such in CF, the
I know you're looking for a CF solution to this and it may be that a
dynamic 404 template may be the right solution in your case.
You won't be able to get any stats out of the site, however, as your
logs will be all 404's unless you use cfhttp in the 404 template to
deliver the content
, but it is the general idea.
..
Ben Nadel
Certified Advanced ColdFusion Developer
http://www.bennadel.com
-Original Message-
From: Dave Hatz [mailto:[EMAIL PROTECTED]
Sent: Friday, September 22, 2006 1:15 PM
To: CF-Talk
Subject: RE: URL Parameter
That would be awesome, thanks Ben
Also, here is the direct snippet:
http://www.bennadel.com/snippets/29-Handling-404-Errors-in-ColdFusion.ht
m
-Original Message-
From: Ben Nadel [mailto:[EMAIL PROTECTED]
Sent: Friday, September 22, 2006 3:37 PM
To: CF-Talk
Subject: RE: URL Parameter
Ok, this was a bit rushed
Hatz [mailto:[EMAIL PROTECTED]
Sent: Friday, September 22, 2006 1:15 PM
To: CF-Talk
Subject: RE: URL Parameter
That would be awesome, thanks Ben
Dave
-Original Message-
From: Ben Nadel [mailto:[EMAIL PROTECTED]
Sent: Friday, September 22, 2006 9:57 AM
To: CF-Talk
Subject: RE
..
Ben Nadel
Certified Advanced ColdFusion Developer
www.bennadel.com
-Original Message-
From: Jon Clausen [mailto:[EMAIL PROTECTED]
Sent: Friday, September 22, 2006 3:48 PM
To: CF-Talk
Subject: RE: URL Parameter
Ben,
That is a cool method! I guess that was too much
URL is a structure in CFMX, and CF5 as well, I believe. so you can use
structKeyList(url)
to get a list, or do a loop like this:
cfloop collection=#url# item=i ... /cfloop
barneyb
-Original Message-
From: Edwards Robert (air0rae) [mailto:[EMAIL PROTECTED]
Sent: Friday, March
cgi.query_string
This is a set of name and value pairs.
To break these into tokens, split them by the or ?, then look on either side of the
=
If you need more specifics, yell again.
Jerry Johnson
[EMAIL PROTECTED] 03/21/03 01:25PM
I know I can loop through form variables by using
This will point ya in the right direction (modify for your needs):
!--- create a list of URL variables and values ---
cfset keysToStruct = StructKeyArray(URL)
cfset URLList =
cfloop index=i from=1 to=#ArrayLen(keysToStruct)#
cfset URLList =
Rob,
You can use CFSCRIPT and PARSE the URL. Its a pain in the butt! I feel
your pain I just ran into this issue where I had a requirement to use
GET, do to an IE issue with a JavaScript reload to a Parent window from
a child window. My work around was in the end to just use a self
-Original Message-
From: James Blaha [mailto:[EMAIL PROTECTED]
Sent: Friday, March 21, 2003 1:35 PM
To: CF-Talk
Subject: Re: URL Parameter list?
Rob,
You can use CFSCRIPT and PARSE the URL. It's a pain in the butt! I feel
your pain I just ran into this issue where I had a requirement to use
:[EMAIL PROTECTED]
Sent: Friday, March 21, 2003 1:35 PM
To: CF-Talk
Subject: Re: URL Parameter list?
Rob,
You can use CFSCRIPT and PARSE the URL. It's a pain in the butt! I feel
your pain I just ran into this issue where I had a requirement to use
GET, do to an IE issue with a JavaScript
to a bad Friday.
Thanks anyway,
Rob
-Original Message-
From: James Blaha [mailto:[EMAIL PROTECTED]
Sent: Friday, March 21, 2003 1:35 PM
To: CF-Talk
Subject: Re: URL Parameter list?
Rob,
You can use CFSCRIPT and PARSE the URL. It's a pain in the butt! I feel
your pain I just ran
URL parameters are passed as part of the URL, for example:
http://Testsite.com/index.cfm?strParam=This_is_a_sample_URL_Param;
When your CF program is called, this field would have the
fully qualified name of url.strParam
Just a little note - neither spaces nor double quotes are
URL parameters are passed as part of the URL, for example:
http://Testsite.com/index.cfm?strParam=This_is_a_sample_URL_Param;
When your CF program is called, this field would have the fully qualified
name of url.strParam
Andy
-Original Message-
From: robert_myers [mailto:[EMAIL
OVERRIDE_DEBUG_MODE iirc is created by the use of cfsetting
showdebugmode=yes which will turn on debugging for a single page. iirc
you still have to have your ip address in the list of debugging addresses to
see the debugging on that page. but this allows you to scriptably turn
debugging on or
what about window.open('file.cfm?name='+value, ... )
as long it is a defined JS variable it should work... correct?
Steve
Darren Adams wrote:
That should work fine but if you intend to send through CF variables then
you need to wrap it in a CFOUTPUT.
-Original Message-
From:
Yep should work.
-Original Message-
From: Lewis Steven [mailto:[EMAIL PROTECTED]]
Sent: 11 May 2001 14:16
To: CF-Talk
Subject: Re: URL Parameter in window.open
what about window.open('file.cfm?name='+value, ... )
as long it is a defined JS variable it should work... correct?
Steve
That should work fine but if you intend to send through CF variables then
you need to wrap it in a CFOUTPUT.
-Original Message-
From: Richard Colman [mailto:[EMAIL PROTECTED]]
Sent: 10 May 2001 15:40
To: CF-Talk
Subject: JS:URL Parameter in window.open
does anyone know something like
oh! oh!
I know the answer to this one!
:)
I did this already..hang on lemme get the code here..
ok! Go to www.opentelecom.com and click Send E page.
and do a View Source on that page
^_^
Its all there.
But just in case the site is down or somethign here is the relevant code:
function
Ummm, why can't you pass a URL parameter to a frame? I do it all the
time and it seems to work for me... Is it that you are passing it to the
frameset but not then passing it to the relevant frame?
For example, if I have a frameset called diary.cfm which has two frames
diaryCalendar.cfm and
actually if all your are trying to get is the SESSION.month variable all you
have to do is append #session.urltoken# to your frame and href's and forms.
frameset rows="50%,50%"
cfoutput
frame src="topFrame.cfm?#session.urltoken#" name="topFrame"
frame src="bottomFrame.cfm?#session.urltoken#"
28 matches
Mail list logo