Is there a custom tag or a workaround to pass the TARGET="main" argument
in a CFLOCATION redirection?
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseof
Greetings,
Is there anyway to use CFLOCATION and include a html target in the URL.
This doesn't work:
cflocation
url="formulary.cfm#clincheck?CCMRUN=#URL.MRUN#CCTIMESTAMP=#URL.TIMESTAMP#"
:(
Is there any other way? Any tips, hints or instructions would be most
welcomed.
T
: Using a TARGET in a CFLOCATION URL
Greetings,
Is there anyway to use CFLOCATION and include a html target in the URL.
This doesn't work:
cflocation
url="formulary.cfm#clincheck?CCMRUN=#URL.MRUN#CCTIMESTAMP=#URL.TIMESTAMP#"
:(
Is there any other way? Any tips, hints or instructions wou
in a cflocation because a target attribute is only relevant on
the client side -- CF has no way to direct output to a particular frame in the browser.
HTH,
-Max
Do you mean target or anchor? But in either case, you have to do some
post-processing based on your URL parameters in the target action file
The thing to keep in mind is where the action is processed. A
CFLOCATION is executed on the server, by CF, and CF has no way to know
(and doesn't care) into which window the browser is going to load the
requested page. A target="xyz" in an HREF is processed by the browser.
If you
70016"
--_=_NextPart_001_01C01696.60570016
Content-Type: text/plain;
charset="iso-8859-1"
Hi,
I have an action page, which, if the form that submitted to it passes the
correct submit value ('show invoice') an invoice is displayed using
cflocation to transfer the flow to the invoice displ
1"
Hi,
I have an action page, which, if the form that submitted to it passes the
correct submit value ('show invoice') an invoice is displayed using
cflocation to transfer the flow to the invoice display page. i.e.
cfif form.submit eq 'show invoice'
cflocation url='showinvoice.cfm'
/cfif
Hi again,
I read somewhere that each time cflocation is used, it opens a new thread,
thus adding quite a load on the server. Is this true. The poster suggested
using JS to redirect.
The reason I ask, is that I have a page that is "hanging" for no apparent
reason, and it happens to hav
Sorry it's taken me so long to respond; I'm cleaning out my mail client, and
finding all kinds of stuff at the bottom.
In one of my pages I have a few insert queries that I run
inside of a cftransaction. Depending on the results I did
have a cflocation tag to redirect them to a outcome
Just remember, you can't do a CFLOCATION back to the same script with
Netscape. I get around that with a CFLOCATION to another CFLOCATION that
brings me back to the script. That might be your problem.
Dave
- Original Message -
From: "Milks, Jim" [EMAIL PROTECTED]
I am using CFLOCATION to direct another FORMS request to the proper
processing template, the CFLOCATION template has been getting hit more and
more lately and Ive been noticing it popping up in my server.log showing
that it is running usually for about 10 seconds. When I use the template
I'm updating a employee record using a EditEmployeeForm.cfm page that
submits the changes to a EditEmployeeAction.cfm page. The
EditEmplyeeAction.cfm uses the CFUPDATE tag to update the employee record
and then uses the cflocation to return to the EditEmployeeForm.cfm page.
My problem
Hi Douglas,
and then uses the cflocation to return to the EditEmployeeForm.cfm page.
My problem is that upon returning to the EditEmployeeForm.cfm page the
changes are not reflected (the old data appears). Checking the database
shows that the changes have been made there. If I hit refresh
I'm not using any session variables just passing a Emp_ID
along in the url.
I hope I have supplied enough explanation that someone is
able to offer some
advice.
Just a quick check, if you're using IE goto Tools|Internet Options,
then with the General Tab selected click on the "Settings..."
]
440-526-3030 x7776
-Original Message-
From: Stephen Moretti [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 15, 2000 7:46 AM
To: [EMAIL PROTECTED]
Subject: RE: Trouble with CFLocation or something
Hi Douglas,
and then uses the cflocation to return to the EditEmployeeForm.cfm page.
My
Thanks for the confirmation and suggestions. Although I'm not familiar
enough with javascirpt. How do you do a redirect with javascript.
SCRIPT language="JavaScript"
top.location='yourwebpage.cfm'
/script
This is just one example which loads your yourwebpage.cfm into the top level
Thanks for the confirmation and suggestions. Although I'm not familiar
enough with javascirpt. How do you do a redirect with javascript.
SCRIPT language="JavaScript"
top.location='yourwebpage.cfm'
/script
You may also want to look into the setTimeOut JavaScript function that can
be
]I have a piece of code that uses cflocation after doing some
]update queries.
]In IE, it works fine, but in Netscape a page comes up that
]states: "Object Moved" and then "this document may be found here".
]The hyperlinked 'here' works, redirecting to the url in th
I am using the cf location tag however I need to be able to control which
frame the tag refreshes in most cases I need to refresh the entire window
that being the entire frame set as at the moment it will only refresh the
frame that displays the page containing cflocation tag
or else under
Hello,
You have to use Javascript when changing the location of other frames.
R.
Johan Coens
-Original Message-
From: AustralianAccommodation.com Pty. Ltd.
[mailto:[EMAIL PROTECTED]]
Sent: maandag 31 juli 2000 11:58
To: [EMAIL PROTECTED]
Subject: Help with CFLocation and Frames
I am
You can't do it with CFLOCATION directly.
But you can CFLOCATION to a page that that contains a JavaScript
frame-buster that will reload the page (in the top window) if it is
loaded into a frame.
HEAD
SCRIPT LANGUAGE="JavaScript"
!--
if (window != top) top.loc
I have a cflocation tag in my application.cfm file so that if a user tries
to access a certain page by clicking on that pages link and that user is not
logged in to the website then the application page sends the user back to
the home page or login screen.
problem being that the link the user
I'm trying to use cflocation with the fusebox methodology
and need a little guidance on the syntax. Can someone please
provide me with a simple example?
TIA,
Lisa
--
Archives: http://www.eGroups.com/list/cf-talk
--2CB85D7A9F478E630939F985
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
I figured it out. -Never Mind
Lisa Greenberg wrote:
I'm trying to use cflocation with the fusebox methodology
and need a little guidance on the syntax. Can someone please
How about:
cflocation url="#script_name#?fuseaction=whatever" addtoken="no"
??
Or were you looking for something more specific?
---mark
--
Mark Warrick
Phone: (714) 547-5386
Efax.com Fax: (801) 730-7289
Pe
I've never had a problem with cfquery but I have noticed that if I
cflocation directly after I drop a cfcookie, it doesnt set the
cookie.
Jon
Ken Wilson wrote:
I'm getting a few random reports of data loss on an Intranet site and need
to get some input on things I might investigate. I'm
fields, various radio button fields
and a dozen or so TEXTAREA fields for free-form comments. When users submit
the page it updates the database and does a CFLOCATION to return them to
their homepage. The few problem reports I've gotten have all been
specifically about the Comment fields not containing
Hi Everyone, I have a site that i need to password
protect. Basically If the user has logged in
correctly, they are redirected to the content site.
Before redirection, a cookie is set called 'logged in'
such as:
CFCookie name="loggedin" value="true"
cflocation url=&quo
Hi Everyone, I have a site that i need to password
protect. Basically If the user has logged in
correctly, they are redirected to the content site.
Before redirection, a cookie is set called 'logged in'
such as:
CFCookie name="loggedin" value="true"
cflocation url=&quo
In one of my pages I have a few insert queries that I run
inside of a cftransaction. Depending on the results I did
have a cflocation tag to redirect them to a outcome page.
They would get redirected fine, but the insert queries
would not run properly, as in they wouldn't write to the
table
exactly. i ran into this problem once myself. i don't know for sure, but i
would assume since basically the end of the cf transaciton -
/CFTRANSACTION - does not get read, anything before the CFLOCATION but
after the start of the CFTRANSACTION gets rolled back.
-Allen
- Original Message
Do Sesion Variables and CFLocaion mix? (COOKIES and CFLocation don't, I know). Is
this the same type of thing because
it doesn't seem to work.
Thanks,
Dave
=
"What we need is a list of specific unknown problems we will encounter"
David Hannum
W
Yes they do mix. Set the session variables before your first CFLOCATION
TIA
DDINC
-Original Message-
From: Dave Hannum [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 18, 2000 9:55 AM
To: CF-Talk
Subject: CFLOCATION Session Variables
Do Sesion Variables and CFLocaion mix? (COOKIES
I discovered an oddity today. If you use CFCOOKIE to set
a cookie, and then later in your template redirect the browser
using CFLOCATION, the cookie will never be set. I guess because
CF queues the cookies to be set after the template is 100% executed, and
since the CFLOCATION takes you
: Tariq Ahmed [SMTP:[EMAIL PROTECTED]]
Sent: Wednesday, April 19, 2000 1:26 PM
To: [EMAIL PROTECTED]
Subject: CFCOOKIES and CFLOCATION
I discovered an oddity today. If you use CFCOOKIE to set
a cookie, and then later in your template redirect the browser
using CFLOCATION
[mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 19, 2000 10:26
To: [EMAIL PROTECTED]
Subject: CFCOOKIES and CFLOCATION
I discovered an oddity today. If you use CFCOOKIE to set
a cookie, and then later in your template redirect the browser
using CFLOCATION, the cookie will never be set. I
You can also cfinclude a file with a meta redirect.
-Original Message-
From: Kelly Matthews [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 19, 2000 12:07 PM
To: '[EMAIL PROTECTED]'
Subject: RE: CFCOOKIES and CFLOCATION
Yep there is all kinds of documentation on allaires site about
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
--_=_NextPart_001_01BFAA39.D9B0E060
Content-Type: text/plain;
charset="iso-8859-1"
You cannot use cfcookie and cflocation on the same pa
It sound too simple, but can you not do a cflocation with an URL parameter
to a page with a frameset where the target would be the frame you passed via
the URL param?
as in:
cfset mytarget = "_top"
cflocation url=index.cfm?target=mytarget
in the receiving page:
cfparam name = &
.
---
| |
| Login Screen |
| |
---
Would that method allow me to do that?
Thanks
Richard
-Original Message-
From: stas [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 18, 2000 2:50 PM
To: [EMAIL PROTECTED]
Subject: RE: CFLOCATION and targets
In one of my pages I have a few insert queries that I run inside of a
cftransaction. Depending on the results I did have a cflocation tag to
redirect them to a outcome page. They would get redirected fine, but the
insert queries would not run properly, as in they wouldn't write to the
table
To: '[EMAIL PROTECTED]'
Subject: Cflocation inside of a cftransaction
In one of my pages I have a few insert queries that I run inside of a
cftransaction. Depending on the results I did have a cflocation tag to
redirect them to a outcome page. They would get redirected fine, but the
insert queries
You forgot the best way to pass data with CFLOCATION...
Don't use it.
Seriously, around 80% of the time I have seen CFLOCATION used, it was
unnecessary, or inappropriate.
I agree 100%. However, in this case the user's form data needs to be
processed by two different servers, one of which
Hi all,
When I re-direct a form submission using CFLOCATION the form data
does not seem to re-direct, is this always the case or am I (not) doing
something which causes this behaviour. I have worked around the problem
in my current application but it would be handy to know. What I wanted
Can anyone tell me why it takes IE4 forever to bring up this dynamic path. IE5 and NS4
flys to it with no problem. The DataChunks.DCNAME variable is generated by a query.
cflocation url="../datachunks/#Trim(DataChunks.DCNAME)#/index.cfm" addtoken="No"
Thanks for y
. The
DataChunks.DCNAME variable is generated by a query.
cflocation
url="../datachunks/#Trim(DataChunks.DCNAME)#/index.cfm" addtoken="No"
The last time a had a problem like this was a while ago, but I seem to
remember it being caused by a particular version of IE 4 - like, the one
just pri
note
Oops .. sorry about that all .. I should pay more attention ;)
/note
I have many domain names pointing to one IP address. At that IP address, I
have one main site with sub-directories that contain the sites of the other
domain names I have pointed to it. What I would like to do is
for datasources
Use the CGI.SERVER_NAME variable to re-direct.
ie:
CFSWITCH EXPRESSION="#CGI.SERVER_NAME#"
CFCASE VALUE="www.domain1.com"
CFLOCATION URL="/domain1dir/index.cfm"
/CFCASE
CFCASE VALUE="www.domain2.com"
CFLOCATION URL="/domain2dir/index
you could do it like this too:
cfif (len(trim(cgi.http_referer))
and refindnocase("http[s]*://[.]*#requested.domain#",cgi.http_referer) is
1)
cflocation url="http://blah"
/cfif
just change
- Original Message -
From: "Mike Sheldon" [EMAIL PROTECTED]
To:
801 - 849 of 849 matches
Mail list logo