Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 178
  • Last Modified:

encrypt data when posting it to another site

Hi
 
i have 2 sites that should communicate between each other
they are hosted seperatly on different server.

Let's say that in site A i have a form
once filled and submited
Site B should receive a copy of data filled in the forme

i site A, I thought about putting a script that redirect to site b, containt the values in a query string ,
ie : transmetsiteb.asp?name=ME&lastname=metoo?address=blablabla.....

I need to encrypt this code, ie:
transmetsiteb.asp?jfdgsfd56g4fdsgfd9s64g6fd5g45fd4g5fd4g5fd4g5fdg48sqdfdsfdsfgaZEZAERZA

And decrypt it i site B

And help ?
0
humer2000
Asked:
humer2000
  • 2
  • 2
1 Solution
 
webtransCommented:
well using asp means
u can make great beneft of this article
it have the encryption and decryption function
(use encrypt function at ur site and decrypt at the other)
http://www.4guysfromrolla.com/webtech/110599-1.2.shtml
0
 
humer2000Author Commented:
is it obligatory to keep the key in a key file ?
can't we write in the encrypt asp page ie :
Const Key="/25a??f"

If yes
When should be changed in your read key routine
0
 
webtransCommented:
g_Key ="anyvariableuwant1234"
0
 
humer2000Author Commented:
sorry for being late to respond.
i have totally forgot this ticket open !
sorry again
the answer of Webtrans is OK
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now