如何从C#中的url中删除coockie代码? [英] How to remove coockie codes from url in C#?
本文介绍了如何从C#中的url中删除coockie代码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
每当我重定向到任何页面,然后在网址中得到如下代码
http:// localhost:16845 /%28S%28bw01h320imn5pvqa540neavx%29%29 / Admin / DashBoard.aspx [ ^ ]
因此,当我复制此链接并粘贴到另一个浏览器链接时,然后使用相同的凭据并登录而不提供凭据。
所以如何删除上面的coockie字符串> ?
whenever i am redirecting to any page then in url getting like below codes
http://localhost:16845/%28S%28bw01h320imn5pvqa540neavx%29%29/Admin/DashBoard.aspx[^]
so when i copying this link and paste into another browser link then there same credentials using and getting logging in without give credentials.
so how to remove above coockie string>?
推荐答案
这是会话标识符。您正在使用cookieless asp:
https://msdn.microsoft.com/ en-us / library / aa479314.aspx [ ^ ]
寻找< sessionState cookieless =true/>
in你的配置。上面的链接解释了它的工作原理,并告诉你如何在代码中实现它的其他方法
This is the session identifier. You are using cookieless asp:
https://msdn.microsoft.com/en-us/library/aa479314.aspx[^]
look for<sessionState cookieless="true" />
in your config. The link above explains how this works and also tells you other methods of how it may have been implemented in your code
这篇关于如何从C#中的url中删除coockie代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文