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, 2008 at 8:33 AM, Leitch, Oblio
<[EMAIL PROTECTED]> wrote:
> 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 NAME="AddHL" datasource="db">
>  INSERT into table1(listID, secondID, emailID)
>  VALUES('#Form.ListID#','#Form.secondID#','#form.emailID#' )
>  </cfquery>
>  <CFLOCATION URL='Form2.cfm'>
>
>  I need to go back to the previous form with the value of form.id which comes 
> from the calling template. 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>
>
>  thanks
>
>
>
>  

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304745
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to