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
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).

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.