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

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?

I dont full get your intentions but:
1) form with hidden fields
2) submit via javascript (i.e. onLoad)

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.