Solved

Using the Get method

Posted on 2004-09-19
5
144 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

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

Suggested Solutions

If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

739 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