Are we doing error codes wrong? - debugging

I have great luck using a combination of Google (and usually StackOverflow) to locate help with errors in software. But I'm wondering if there's a better way. How about tagging all errors with a unique ID?
This is just a suggestion, hopefully someone will take this in an even better direction. As a starting point I see errors registered the way we register web sites. Maybe they are web sites. Each error would have a URL. And that URL would have an associated abbreviated version for cases where we want to reference the error but want to save space.
The app developer would be under no obligation to provide anything at the error URL location. That would be optional but nice. Maybe the URLs would all be based on a global domain like wikipedia where anyone can contribute info. My main goal though is just to tag errors with something to make web searched more effective when I'm looking for help.

Related

How to do the performance measurement of website manually by coding?? Any Idea

I have to develop the application to check the performance of the website ..
I need some guidance about how can I do it with coding.I have searched a lot but google is giving only tools for doing that. anyone have any Idea about this?..suggest me some path where I should work upon.Help will be appreciated.Waiting for your responses.
I have seen manny sites are giving results on the basis of the pages of our websites so they might be getting the pages from the sitemap,that is my point of view I don't know the rest.I think they might be getting the page and logging the load time and response time that is what I have thought but still I am not Knowing how log that things ..I need your guidance to proceed further Thank you.

iis7 redirect from url without query strings to url with query strings

My web programmer is having a hard time accomplishing a request. My guess is I'm not framing the question correctly since I'm not a programmer.
What I know about our website configuration:
The site is running on windows server 2008 IIS 7.5 using ASP.
what I don't know: I don't know if URL rewrite extension is installed.
What I'm trying to do:
vanitysub.domain.com will point to actualsub.domain.com with query string variables for Google Analytics campaign tagging appended to actualsub.domain.com
The programmer was not able to do this. I received an email with the following. "I think it has to do with the aliases I’m trying to redirect. They are both bound to the same site."
Potentially useful information:
Currently if you type in the vanitysub.domain.com it renders the correct site but the URL stays vanitysub.domain.com.
Side note: This is a Google analytics issue as well because our site has over 15 different subdomains so I have configured GA to prepend the sub.domain.com to the URI. With the current scenario this generates two separate lines in my pageview report. One for vanitysub and one for actual sub.
Can someone help me provide instruction for how to achieve "what I'm trying to do" both without the rewrite extension and with it? The programmer does not have time to research it. I'm not a programmer but know enough to know I can be dangerous(i.e. it can be done) so I need your help.
Thank you!
We were able to follow the steps outlined in a similar post with some modifications since this was only one domain and the tagging was fixed. IIS7 URL Rewrite multiple domains to a single domain including google analytics referral code

Retrieving .swf from website

I was wondering if you guys can help me out. Im making a website for an authorized Dish dealer. Ive been trying to retrieve the flash animation on dish.com. I was able to get it through firefox with 'Page Info' but all I get is a black rectangle without no animation. Its a .swf, any help is appreciated.
There are a couple of possible issues there.
There's a chance that the movie is loading something from that domain, which will not get loaded when the container movie is loaded in another domain due to cross-domain policy issues (and security sandbox restrictions).
Also, in its code the developer might have made it to check the URL and restricted some actions accordingly.
Another possibility is, it might be using some data that it gathers from the page source, or a server-side script which you might not be providing it.
These are the most likely possibilities I can think of, but if I get a chance to think more I'm sure I can come up with many others.

Is it a bot when the user agent is "Java/1.6.0_32"?

I log all visits to detect bots. Got sometimes visit with ip from another country and user agent like "Java/1.6.0_32". Is it probably a bot?
It's definately not one of the major browsers. It's probably a screen-scraper - you could probably take it as a compliment that somebody finds the content provided by your site to be useful.
"You could probably take it as a compliment that somebody finds the content provided by your site to be useful..."
You might be right, but I`m not 100% sure.
An unrecognized bot could be trying to steal you content, attempting to spam links or scanning for vulnerabilities...
I've checked Botopedia.org and found no reference for this user-agent.
Might be fine, but it seems fishy to me.

Disabling fishing site warnings when auto-logging into HTTPS sites with UIWEBVIEW

I'm trying to figure out how to disable programatically the fishing site warnings that pop up when you enter a user name and password along with the url to a secure website, such as.
https://UserName:PassWord#Https://Secure.Website.com
Before the url comes up the warning dialog pops up first, since I know that the url I programmed is secure, I don't need the fishing site warning to pop up.
If anyone has any Ideas, I would greatly appreciate it. Thank you in advance.
You just cant do this.
This behavior is in private UIKit apis that you can't alter without being rejected from AppStore.
And for once, there is a good reason to this, a security reason :)
EDIT (after comments below)
I think you can disable these warnings in device settings : Settings App > Safari > Fraud Warning
Note that you can't do this with code from your app. You can only ask user to do so, or maybe by using Enterprise deployment facilities.
EDIT 2 About security concerns
Again, there are very GOOD reason to this security, especially for a company concerned by its confidentiality/security.
It is not because you set a static URL in a UIWebView that this is the URL you will get, phishing is not only from websites servers, it can also come from a middle man attack on the TCP/IP connection, DNS spoofing, or who knows, an admin going nuts :)
Modifying private APIs is not easy, there is no source code, just assembly code that you can disassemble/analyze to figure a way to override/inject code doing what you want. It takes time that sorry I have not.
In other words : you should find an alternative solution, like another URL without https (ask webmaster) but another security, not requesting data from UIWebView... I'm afraid there is no easy workaround. And I guess you know that URL authentication like you are trying to do is highly unsecure, any intermediate could just get the query and login/password.
It is phishing and not fishing :)
Do you know you can edit your comments on stackoverflow?

Resources