开发者

Remove referrer information while redirecting page in asp.net application

开发者 https://www.devze.com 2023-03-11 10:24 出处:网络
For example, i have an application which redirects to www.google.com. Response.redirect will send the redirect information to the external address which i dont want. However internally, i want to acce

For example, i have an application which redirects to www.google.com. Response.redirect will send the redirect information to the external address which i dont want. However internally, i want to access the referrer information. Is there any way to remove that i开发者_开发百科nformation. Will redirecting from javascript using window.location = 'www.google.com'; help ??


I believe the referrer will get removed if you launch the URL in a new window. In JavaScript that would leverage the window.open(...) function.

0

精彩评论

暂无评论...
验证码 换一张
取 消