我想用querystring重定向到某个页面,查询字符串值应该是加密格式,我想在代码隐藏中解密它
示例:
function redirect(s, e) { window.location.href = "Default2.aspx?Id=" + encrypt(5)+ "&No=" +encrypt( 5);}
和代码隐藏:
Dim id As String = Request.QueryString("Id").ToString()
id = Decode(id)
Dim no As String = Request.QueryString("No").ToString()
no= Decode(no)
先谢谢
Arasu Rajendran