怀疑与查询字符串值加密有关 [英] Doubt Related With Query String value encryption

查看:80
本文介绍了怀疑与查询字符串值加密有关的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好



我加密并将id从一个页面传递到另一个页面

in test1.aspx

列出所有attachemt时单击一个项目中的预览即时通过加密后该字段的id到下一页说test2.aspx

Response.Redirect(〜/ test / test2.aspx?id = + ls_encry);
页面test2中的
我用代码来解密这个并且我得到了所有这些好

问题来了,当我把这个url传递到下一个系统时

www.mydom.com/test/test2.asp?id=FFvruvzDN%2bA%3d

登录页面来了...成功登录后重定向到test2页面,但在这种情况下解密不起作用糟糕的数据



为什么要来,所以我尝试了很多加密和解密算法,但结果在所有情况下都是一样的。

我注意到的是

hcrEC2WtGoE =: - 第一个工作案例中的值 -

hcrec2wtgoe =: - 查询值在非工作情况下所有字符转换为小写

任何解决方案对于这个p roblem



提前致谢

Amritha

Hi all

Im encrypting and passing id from one page to another
in test1.aspx
listing all attachemt when click on preview in one item im passing id of that field after encryption to next page say test2.aspx
Response.Redirect("~/test/test2.aspx?id=" + ls_encry);
in page test2 i used code to decrypt this and im getting all these well
problem coming when i passed this url to next system
www.mydom.com/test/test2.asp?id=FFvruvzDN%2bA%3d
login page comes .. after successfull login redirect to test2 page but in this case decryption not works showing bad data

why coming so i tried many encryption and decrption algorithams but result is same in all cases.
wht i noticed is
hcrEC2WtGoE= :-guery value in first working case
hcrec2wtgoe= :- query value in not working case all characters converted to lower case
Any solution for this problem

Thanks in advance
Amritha

推荐答案

这篇关于怀疑与查询字符串值加密有关的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆