Solved

Using the Get method

Posted on 2004-09-19
5
138 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 500 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

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

One of the typical problems I have experienced is when you have to move a web server from one hosting site to another. You normally prepare all on the new host, transfer the site, change DNS and cross your fingers hoping all will be ok on new server…
Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

760 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now