I save my logged in ID in the php session of course. Is it safe and professional to pass the id from php to js in my sorce code as following :
var myLoggedInId = "<?php echo $theLoggedInIdFromSession; ?>";
Aucun commentaire:
Enregistrer un commentaire