• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
redirect and post a value

#1
[eluser]dimis[/eluser]
I have a shopping cart.
At the last stage I have 2 options.
1.The page redirect to bank page for a payment via visa.
2.The payment redirect at order_ok page as the payment will be done via deposit.
Is a way at the 2nd option to pass a value via post at my controller and not something via url?

#2
[eluser]Krzemo[/eluser]
I dont full get your intentions but:
1) form with hidden fields
2) submit via javascript (i.e. onLoad)

#3
[eluser]uptime[/eluser]
Agree with Cshamoh.

You can also use sessions / cookies to store data for later use.

I suggest you use #1 (hidden form fields).


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.