debugging IE9 "only display secure content" - http

I am getting IE9 "only display secure content" warning on my page. It calls a large number of frames etc that I did not write so I am looking for way to get IE9 to show me what it considers the insecure (http) page that being asked to be loaded. Is there a way to this? I also have access to IE7 & 8. I don't generally have any other tools on the machines with IE because they are just short term VMs, running MS's testing builds of IE7,8,9.

Open Fiddler, then click Allow in the warning.
Fiddler will show you all of the non-SSL requests.
You can also just look in Firebug's Net tab.

Related

html scraping POST information using aps.net and htmlAgility

Im working on a web-scraping project i know how to get certain data from target page through HtmlAgilityPack. But i dont know what to send in the Post information of that page. The page is not sending any information through querystring. There are three textboxes in that page, two checkboxes and a search button
when i inspect the button with firebug it gives following information
<img border="0" align="top" onclick="javascript:PVO_PId_Search(
document.ProtocolForm.searchplt,
document.ProtocolForm.towcheck.checked,
document.ProtocolForm.collateralcheck.checked,
document.ProtocolForm.selState[document.ProtocolForm.selState.selectedIndex].value,
document.ProtocolForm.selPltType[document.ProtocolForm.selPltType.selectedIndex].value)" onmouseout="this.className='flyOut'" onmouseover="this.className='flyOver'" alt="Search" value="PSearch" name="PSearch" onload="javascript:updateButtonWithOneTxtbox(document.ProtocolForm.searchplt,this,'v_images/Search_button.gif','v_images/Search_button_grey.gif');" src="v_images/Search_button.gif" class="flyOut">
Now my question is, Is there any tool or firefox addin available which i can use and monitor (or debug) what kind of Post information it is passing ?
You can use built-in Web Developer tools in Chrome and/or Safari, etc to inspect all http request/responses between your client (browser) and the (server) web site. You'll see it in the NETWORK inspector tools.
However, unless it's your site, or some worthy educational experiment, whether or not you can actually spoof (yes, that's what it really amounts to) a POST (or GET) to the site depends on whether or not it has some built in protections/validations that protect it from such attempts.
Update:
Just fire up Chrome and (on Windows) CTRL+SHIFT+I (Safari, its CTRL+ALT+I) and you should see the NETWORK INSPECTOR:
Update 2:
And just for reference, if you want network inspection that isn't dependent on a browser, Fiddler is always part of my personal tool kit.

How to see the actual server side error message in the browser?

I'm having a trouble reproducing an issue a user is having in IE, but something that always bugged me is how can I see the error message from classic ASP page in IE for example on a dev server.
In IE all I see is for example:
This page contains programming error
And that's it.
Note: since this is server side, it applies to all browsers.
I remember this one!
You need to go into ie settings > advanced > uncheck "show friendly http errors"

How can I tell what information a website is posting to the server from my browser?

I am just asking this out of interest, I did a Google search and all that came up was a lot of information about viruses and stuff.
Basically, I want to be able to see the data that websites are posting to their servers from my browser, if there is any way of doing this.
I am running Chrome but have Firefox, Safari, Opera and IE9 available if there is a solution that exists on those browsers...
You can use any http debugger (Fiddler, Charles Proxy) to see the traffic at the http level.
You can use any network monitor (Microsoft Network Monitor) to see the traffic at the network level (all network procotols physically going through your network adapters).
There's a lot of options here. The easiest thing in Chrome is to right click and choose Inspect Element. That will open a frame at the bottom of the window. Some inspection in here will go a long way although I'm sure some chrome extensions exist.
On that panel, checkout the Network Tab and the Resources Tab.

Parsing headers in Safari - something similar to Live HTTP Headers for Firefox?

I need to resolve a weird issue with Safari playing back mp3 files as streaming files although the entire length of the content and all of the content is provided to the browser...
Apparently, I will have to address Range headers, which is a new topic for me.
How would I monitor the headers being sent and received in Safari? Is there a plugin or some other trick I can use? I have developer mode turned on so I can inspect elements, but I don't know how to monitor headers.
M
This should work:
Inspect Elements > Resources pane
At this point, you may see a window that says, "You need to enable resource tracking to use this panel" and offers you a choice of "Only enable for this session" or "Always enable." Either is fine, and then click "Enable resource tracking."
In the resulting window, find the resource you want the header for and select it.
On the right hand side, there should now be a header with two tabs: "Headers" and "Content." If it's not already selected, choose "Headers."
You should then see the headers (as Safari received them) for your selected resource. To look at another resource's header, just select that, and so on.
Starting with Safari 5.1, you can view HTTP headers in the Network tab of the Web Inspector:
Enable the Develop menu in Preferences -> Advanced, if it isn't already.
From your web page, choose Show Web Inspector from the Develop menu.
Switch to the Network tab.
Reload the page.
You can then select on the resource on the left and click "Headers."
In older Safari versions, this information was in the Web Inspector's Resources tab.

How can I debug this Internet Explorer issue?

I have a Web Application (ASP.NET C# for .NET 3.5) that uses the Session object to store, amount little things the debug information so when things go wrong, this is the first place to go.
The process is simple actually,
no matter what browser (except IE), when I navigate to a page, in the Debug Log I have data, just like the one show below
alt text http://www.balexandre.com/temp/2010-04-14_1048.png
problem is that in Internet Explorer, the Debug Log is always blank (blank as no information, not no html code)
alt text http://www.balexandre.com/temp/2010-04-14_1051.png
What can I do?
I tried several Security settings of IE8:
add the site (machine name) to Trusted Sites
disable Protect Mode
set Local intranet security level to LOW
set Accept All Cookies under Privacy
checked the Allow Active Content under Advanced tab
I really don't know what more can I do :-(
Any help is greatly appreciated!
You could try using Fiddler - a web debugging proxy - to check traffic between IE and your site. Also, if you can, try other versions of IE on different machines/networks to see if it's a global problem, or just related to one browser. And don't forget you can hit F12 to enable developer console in IE.

Resources