简体   繁体   English

使用IE开发人员工具登录时,如何查找是否通过表单发布传递了返回网址?

[英]How to find out if the return Url is being passed back via form post when signing in using IE developer tools?

I am working on a website with a couple of secure pages. 我正在一个有几个安全页面的网站上工作。 When I click on any of the links to access these pages IM automatically redirected to the sign -in page, which is normal behavior. 当我单击任何链接来访问这些页面时,IM会自动重定向到登录页面,这是正常现象。

However, on signing in, instead of being directed to the original page I requested or clicked on I am brought back to the home page. 但是,在登录时,我没有被带到我请求或单击的原始页面,而是带回到了主页。

I would like to find out if the return Url is being passed back via form post when signing in. 我想确定登录时是否通过表单发布将返回网址传递回来。

How do I find this using IE developer tools or firebug? 如何使用IE开发人员工具或Firebug找到它?

As far as I remember you cannot log requests/responses in IE developer toolbar. 据我记得,您不能在IE开发人员工具栏中记录请求/响应。 But there are powerful tools like Fiddler Web Debugger or Wireshark (haven't tried this one myself) for this purpose. 但是有一些强大的工具,例如Fiddler Web调试器Wireshark (我自己还没有尝试过)。

In Firebug you can switch to the Net tab and access data transfer related information. 在Firebug中,您可以切换到“ 网络”标签并访问与数据传输相关的信息。 If you expand a POST request, you will find a tab that shows the data that were posted with the request. 如果展开POST请求,则会找到一个选项卡,其中显示随请求一起发布的数据。 In Google Chrome you will get the same functionality with the built in developer tools on the Network tab. 在Google Chrome浏览器中,您将获得与网络标签上的内置开发者工具相同的功能。

If you are debugging encrypted (https) pages it's the easiest to use Firebug because Fiddler and Wireshark must be specially configured to allow this. 如果您正在调试加密(https)页面,则最容易使用Firebug,因为Fiddler和Wireshark必须经过特殊配置才能允许这样做。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM