Jump to content

Passing variables via the URL


ainoy31

Recommended Posts

I am passing variables via the URL to some of my pages.  I am aware of using sessions but I am dealing with integrating the payment processor Authorize.Net.  Everything is working fine but I realize people can go to the URL and change the order id.  Is there a way to encrypt this form the browser?

 

Many thx.

 

Ainoy

Link to comment
https://forums.phpfreaks.com/topic/58135-passing-variables-via-the-url/
Share on other sites

You can encrypt variables via JavaScript, but that can be disabled or a user can figure out what scheme you use, and just encrypt and send his own variables with the same scheme.  Your best bet is keeping the data on the server and identifying the user via cookies (i.e., sessions).

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.