Hussain Javed
Hussain Javed

Reputation: 19

How to remove cookie codes from url in C#?

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>?

Upvotes: 0

Views: 110

Answers (1)

Peter Hahndorf
Peter Hahndorf

Reputation: 11212

Make sure ASP.NET is not using URI cookie mode.

In IIS Manager select your site, at the top in the ASP.NET section double-click the Session State icon.

Towards the bottom, in Cookie Settings - Mode use Use Cookies or maybe Auto Detect but not Use Uri

Upvotes: 2

Related Questions