首页 相关文章 加密QueryString数据

加密QueryString数据

Problem with Query String Method
Often time we use query string collection to retrieve an unique record from a table. Notice the following
piece of code -

Detail.asp?RecordID=200

Here we are passing a query string value called "RecordID" using the url. We then use the Query String collection "RecordID" to get the actual number -

<%
Dim RecordID
RecordID = Request.QueryString("RecordID")
%

The problem with the above method is that we are exposing "RecordID" to the public. Hence making easy to h...[ 查看全文 ]

2016-01-29 标签:

加密QueryString数据的相关文章

手机页面
收藏网站 回到头部