Stop Google crawling WebResource.axd & ScriptResource.axd
As an ASP.NET developer i often get error message: “Padding is invalid and cannot be removed”. It’s a pretty annoying message that i have been trying to get rid of for days. It was caused by Google trying to index, crawl my WebResource.axd and session. But when the session expires you get this error message. Since Google caches the pages it visits the session on this page has already expired after it is crawled, when it tries to crawl the page again and request the WebResource.axd or ScriptResource.axd with an old key, an exception is raised.
Therefore to solve this problem the simple solution for that is to modify your robots.txt file in your root directory
and add the following at the end
With this no more issues regarding invalid padding.
If this does not solve your issue you can take a look at what other users propose here.
Some update on this issue, i found out while googling some days back:
On this post you can find out how to compress the webresource.axd and also somewhere in between prevent this error to occur.
Use the tool found at the website below to generate a machine key and a decryption key:
Lately i have been trying to get a grasp of the anchor value from the URL using ASP.NET. From what i learned from the forum (This might be wrong since there is a way in PHP(http://www.php.net/manual/en/function.parse-url.php) to get the anchor value.)
The url above send the user to a page product and then your browser interpret the anchor and scroll down way to the description anchor. But the question is why the heck would i want to get the anchor since it’s just an anchor ? There might be several reasons for that. Here is 2 of them:
- You might not want to pass an extra parameter in your URL query string because of Referencing issues
There might be several other reasons, but these two give you and idea of what is to be achieved.
var url = document.location;
var strippedUrl = url.toString().split("#");
if(strippedUrl.length > 1)
anchorvalue = strippedUrl;
10 years have now gone since the first apparition of Netscape Navigator and now it is time to say goodbye to this browser. As announced by AOL, the netscape browser support will end on the 1st of February 2008.
I still remember during my first days using internet i have been playing around with Navigator 3 or 4 i may think. It was kind of the impressive i may say the first time, but afterwards i switched to Internet Explorer, and now i am using both Internet Explorer and FireFox.
For all those out there, Happy New Year 2008, Wishing you success in your life for this year.