Cookies crypt
Posted: 16 Feb 2019, 02:18
Hi. I make changes Mantis PHP code for i want crypting cookies for users (browser).
Any idea how i can crypted Cookies for users? And decrypting if will be back from browser for Mantis.
Where is best place in PHP scripts for adding this feature?
I find gpc_api.php funtions gpc_get_cookie, etc. And i have crypt/decrypt function in custom_functions_api.php and if added require_api( 'custom_function_api.php' );
to gpc_api.php, then no loading my functions for crypt/decrypt.
Any idea?
Thanks
Any idea how i can crypted Cookies for users? And decrypting if will be back from browser for Mantis.
Where is best place in PHP scripts for adding this feature?
I find gpc_api.php funtions gpc_get_cookie, etc. And i have crypt/decrypt function in custom_functions_api.php and if added require_api( 'custom_function_api.php' );
to gpc_api.php, then no loading my functions for crypt/decrypt.
Any idea?
Thanks