Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Using the Get method

Posted on 2004-09-19
5
Medium Priority
?
147 Views
Last Modified: 2013-12-24
Hi,
so i have a page that posets information to a cc processor. After the user has finished entering the cc details, and the payment is processed the processor offers to send the user back to my site (which is very important bec. then they will get their reciept), no i have got this to work when it is not dierct return (i.e. the user must click on a link to go back to my site) in this case i was using the hidden form fields passed to me from the processor and that works fine. But the moment i put it on automatic return (the user is automatically directed to a page on my site) it just does not work.
the processor has indicated that i should be using the get method, i know that this an attribute with forms, but i do not know how to use it! please do not do something like <form method ="get"......>, i know this, but i do not know how to get the information and pass it to my queries. so i need an example code, as detailed as possible
thanks
0
Comment
Question by:MMsabry
  • 4
5 Comments
 
LVL 21

Accepted Solution

by:
pinaldave earned 2000 total points
ID: 12096059
hi
get is the same as post in the form.
There is lot to discuss but let me just talk on point.
Get sends variables in url.variable
Post sends variable thourh form.variable

if you use get then the variables will be there in url.
You can use them same as when you use post method then form.variables ... now you use url.variable...

Summery :
The only differance is that you use url.var instead of form.var examples  will be same as any forms examples of yours.
Regards,
---Pinal
0
 

Author Comment

by:MMsabry
ID: 12096253
so, in my code,
at one point i have
Insert .....
where total = #form.total#

this "form.total" is passed to my page from the processor, so I would just have to change this into
Insert ....
where total =#url.total#,

that is all the change i have to make to my code?
0
 
LVL 21

Expert Comment

by:pinaldave
ID: 12096347
well you got it.
Yes. that is it...
---Pinal
0
 
LVL 21

Expert Comment

by:pinaldave
ID: 12096354
well also this similar thread can also help you while i am off to Vegas Strip for some time...
http://www.experts-exchange.com/Web/WebDevSoftware/ColdFusion/Q_20838809.html
Regards,
---Pinal
0
 
LVL 21

Expert Comment

by:pinaldave
ID: 12227133
Thanks and have a good day!
---Pinal
0

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A web service (http://en.wikipedia.org/wiki/Web_service) is a software related technology that facilitates machine-to-machine interaction over a network. This article helps beginners in creating and consuming a web service using the ColdFusion Ma…
Article by: kevp75
Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Suggested Courses

971 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question