Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > ColdFusion > Re: Need help w...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 3 Topic 1618 of 1699
Post > Topic >>

Re: Need help with Current Page update

by "Calvin" <cctrinh@[EMAIL PROTECTED] > Nov 2, 2006 at 08:47 AM

ultrakit wrote:
> Hi,
> I have an insert page where it will update all form fields on the same
> page and when it is done, it will go to another page as I wish.
>
> I get the insert part no problem but what I want to do is when I do the
> <cflocation> I want to pass the record ID (the one I just insert) with
> it.  I've tried giving a name (e.g. promoInsert) to the insert query
> and passing my url as <cflocation
> url="confirm.cfm?promoID=#promoInsert.promoID#> but i will receive an
> error.
>
> Any help would be appreciated.  Thanks in advance.

If I remember correctly, <cflocation> does not allow you to pass
variable via URL.  Instead, you can use <META HTTP-EQUIV=Refresh
CONTENT="1;
URL=http://yourpage.com/confirm.cfm?promoID=#promoInsert.promoID#">
to
redirect to another page and pass along a variable.  I have used the
META refresh and I know it works.  I hope this will help.

Calvin
 




 3 Posts in Topic:
Need help with Current Page update
"ultrakit" <  2006-10-22 14:51:24 
Re: Need help with Current Page update
Peter Tilbrook <peter.  2006-10-23 21:38:04 
Re: Need help with Current Page update
"Calvin" <cc  2006-11-02 08:47:53 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Oct 13 4:32:15 CDT 2008.