P3P fix for Internet Explorer to access cross domain cookie in iframe

March 31st, 2010

I had an issue whereby my iframe was loading a webpage from a different domain. Problem is the webpage in the iframe was required to load cookies from its own domain. This works in Firefox and most other browsers except Internet Explorer because its default setting prevents the loading of 3rd party. Google says that all you need to do to get this working is setup a P3P Cookie Privacy policy according to P3P Specifications. Most results also say that all you need is to setup the P3P policy in the header. Such as in VB

Code

HttpContext.Current.Response.AddHeader("P3P", "CP=""CAO PSA OUR""")

OR in PHP

PHP

<?php header('P3P: CP="CAO PSA OUR"'); ?>

Full story »

Link exchange concept

March 26th, 2010

This is an experimental concept I came up with on webdevrefinery.

The idea is to have a centrally maintained and human moderated set of links that forms a network of possibly SEO positive links. This is meant to help personal websites and freelance developers who would like an honest way to exchange links and facilitate collaboration.

Of course, we can’t accept just anybody to the list, so heres the requirements of entry:

Full story »

Piracy of open source code!

February 20th, 2010

Seems like open source software isn’t the solution to piracy of commercial software after all. These days with open source going main stream and more software and services becoming free to use, they are either funded by sponsored ads or paid versions of premium services. This is leading to a new form of piracy, where by people are claiming credits for source code they have not written and generating ad revenue or receiving donation from it.

Recently I had the dubious honor of having someone repackage a Firefox addon that I wrote and released on a Mozilla Public license. Although it was open sourced, this person stripped my credits from the source code (violating the licence it was released in) and releasing it as his own without even bothering to even change the name of the plugin.

Full story »