[eluser]Zeff[/eluser]
Dear all,
I have to redirect a user from one website to another (also hosed by my company), sending one (or even more) variable(s) by a querystring. I want to avoid that users see this querystring in plain text, so I encrypt it (by means of the encrypt library and a shared secret key), urlencode it and redirect ([removed] '[removed]'...) to the 'receiving' site.
In the receiving CI controller/method, I urldecode the querystring, and finally decrypt it using the same CI library encrypt and the shared key - symmetric encryption).
The weird thing is: sometimes it works (the variable is decrypted), sometimes not...
Is there someone who has experience with this matter?
If I don't encrypt the variable, it works fine...
Thanks in advance for your help!
Best regards,
Zeff