thanks to all the inputs will try which is best ...
Hi everybody
need help on this
I have this code on an action template
CFQUERY NAME=AddHL datasource=db
INSERT into table1(listID, secondID, emailID)
VALUES('#Form.ListID#','#Form.secondID#','#form.emailID#' )
/cfquery
CFLOCATION
A quick and easy solution would be to store form.id into a session.
cfset session.formid=form.id
then cflocation to it and call it from #session.formid#.
Might not be the BEST answer, but I'm still waking up. :)
On Mon, May 5, 2008 at 8:16 AM, alex poyaoan [EMAIL PROTECTED] wrote:
Hi
So, why can't you?
cflocation url='form2.cfm?id=#form.id#'
From: alex poyaoan [mailto:[EMAIL PROTECTED]
Sent: Mon 5/5/2008 11:16 AM
To: CF-Talk
Subject: cflocation problem
Hi everybody
need help on this
I have this code on an action template
CFQUERY
I don't believe you can send url variables with cflocation. I'm also
assuming from what you wrote that you already tried that.
Anyway, you don't want to do that anyway because it opens up a way for
people to manipulate the URL and get into areas they shouldn't be.
Good practice?
On Mon, May 5,
I don't believe you can send url variables with cflocation.
You can do this.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
Fig Leaf Training: Adobe/Google/Paperthin Certified Partners
http://training.figleaf.com/
WebManiacs 2008: the ultimate conference for CF/Flex/AIR
Is there a way to insert that value in the cflocation url? I tried it
but it gives me an error wHAT i WANT TO DI IS
cflocation url='form2.cfm?id='form.id
Ok... So Alex... What's the problem again?
On Mon, May 5, 2008 at 9:08 AM, Dave Watts [EMAIL PROTECTED] wrote:
I don't believe you can send
.
However, you're right - it would expose it to tampering.
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: Mon 5/5/2008 12:08 PM
To: CF-Talk
Subject: RE: cflocation problem
I don't believe you can send url variables with cflocation.
You can do this.
This email
Shouldn't that be
cflocation url='form2.cfm?id=#form.id#'
-Original Message-
From: Phillip Vector [mailto:[EMAIL PROTECTED]
Sent: Monday, May 05, 2008 12:12 PM
To: CF-Talk
Subject: Re: cflocation problem
Is there a way to insert that value in the cflocation url? I tried
In
/wwwroot/cfdocs... you find this example
cfif TripQuery.RecordCount is 1
cflocation url=tripdetail.cfm?ID=#TripQuery.tripID#
cfelse
cflocation url=tripdetail.cfm?ID=#Form.RecordID#
/cfif
so
1) URL parameter absolutely works
2) I use
1) URL parameter absolutely works in cflocation
In
/wwwroot/cfdocs... you find this example
cfif TripQuery.RecordCount is 1
cflocation url=tripdetail.cfm?ID=#TripQuery.tripID#
cfelse
cflocation url=tripdetail.cfm?ID=#Form.RecordID#
/cfif
2)
I've got a crazy problem with the cflocation tag. When
using it to redirect to network locations, i.e. cflocation
url=\\machine\share\directory\ addtoken=no, I get the
Page cannot be displayed error unless I disable the Show
friendly http error messages checkbox in Internet explorer.
Any
Try sticking file: in front of that URL as in:
CFLOCATION URL=file:\\machine\share\directory\
IE is probably assuming that it should try using HTTP to access a remote
site instead of just grabbing a local resource. The file: bit tells IE
that the URL indicates a local resource.
--
Mosh
Is that a proper url? Shouldn't it start with http:// or file: ??
-Original Message-
From: AKERS,BRET (HP-SanDiego,ex1) [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 16, 2003 12:39 PM
To: CF-Talk
Subject: cflocation problem
Hi All,
I've got a crazy problem with the cflocation
http://
-Original Message-
From: J E VanOver [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 16, 2003 2:53 PM
To: CF-Talk
Subject: RE: cflocation problem
Is that a proper url? Shouldn't it start with http:// or file: ??
-Original Message-
From: AKERS,BRET (HP-SanDiego,ex1
On 7/11/02, Tilbrook, Peter penned:
Are you using cookies? This was a well documented problem. Eg:
Also CF 4.5 has an additional service pack (2) available.
Well documented where? :) I've been through all the items in the
knowledge base containing cflocation and there's no mention of this
How about this one:
http://www.macromedia.com/v1/Handlers/index.cfm?ID=22712Method=Full
Jb.
-Original Message-
From: Bud [mailto:[EMAIL PROTECTED]]
Sent: 11 July 2002 12:03
To: CF-Talk
Subject: RE: cflocation problem. Anyone seen this?
On 7/11/02, Tilbrook, Peter penned
Cookies and CFLOCATION, TechNote 467
http://www.macromedia.com/v1/Handlers/index.cfm?ID=1525Method=Full
related:
http://www.macromedia.com/v1/handlers/index.cfm?id=21170method=full
Chris Norloff
-- Original Message --
from: Bud [EMAIL PROTECTED]
On 7/11/02, Chris Norloff penned:
Cookies and CFLOCATION, TechNote 467
http://www.macromedia.com/v1/Handlers/index.cfm?ID=1525Method=Full
related:
http://www.macromedia.com/v1/handlers/index.cfm?id=21170method=full
Chris Norloff
Hi Chris. Neither of these apply to my problem. That is, after
On 7/11/02, John Beynon penned:
How about this one:
http://www.macromedia.com/v1/Handlers/index.cfm?ID=22712Method=Full
Jb.
Nope. Everything works fine, session variables are set and then read,
but the http header shows up.
--
Bud Schneehagen - Tropical Web Creations
.
-Original Message-
From: Bud [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 11 July 2002 9:03 PM
To: CF-Talk
Subject: RE: cflocation problem. Anyone seen this?
On 7/11/02, Tilbrook, Peter penned:
Are you using cookies? This was a well documented problem. Eg:
Also CF 4.5 has an additional service pack (2
Are you using cookies? This was a well documented problem. Eg:
Also CF 4.5 has an additional service pack (2) available.
-Original Message-
From: Bud [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 11 July 2002 10:32 AM
To: CF-Talk
Subject: cflocation problem. Anyone seen this?
Not sure
21 matches
Mail list logo