javascript - how to hide user id and other parameters in a jsp url? -


i have url using users access jsp web application

http:/testerpages.com/testpage/menu1?userid=27

how can hide userid=27 users , show url like

http://testerpages.com/testpage/menu1

is there method can hide parameters users or can ignore ids there threat security if show id parameters in url directly front end users

i m calling page using

<a href="#" onclick="gotourl('${param.userid}','${contextpath}/menu1?userid=')">menu1</a> 

hex(aes_encrypt(userid,'"key"')) 

use in sql or mysql query aes encrypt userid made use of in mysql should solve problem


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -