Sunday, May 10, 2009

Browser detection

System.Web.HttpBrowserCapabilities browser = Request.Browser;
string name = browser.Browser;
float version = (float)(browser.MajorVersion + browser.MinorVersion);
if ((name == “IE” && version >= 7) || (name == “Firefox” && version >= 2))
{
// You are using IE 7( or later) or Firexfox 2( or later)
}

Sunday, February 8, 2009

queries useful for social networking

http://www.communitymx.com/content/article.cfm?page=2&cid=A1A63

Tuesday, January 20, 2009

How to optimize mozilla firefox for fast browsing !!

Open a fresh firefox window and follow the steps.............

Step 1
In the address bar, type “about:config” and press enter. Do not include quotation marks.

Step 2
In the filter field, type “network.http.” Find the Boolean labeled “network.http.pipelining” and check its value. If the value is “false,” double click this line to change it to “true.” This will help reduce page loading time.

Step 3
Find the Boolean labeled “network.http.pipelining.maxrequests.” Double click this line and change the number to eight. The default number is four.

Step4
Find the Boolean labeled “network.http.proxy.pipelining.” Double click this line to change the value to “true.”

Step5
Enter “network.dns” in the filter field and find the Boolean labeled “network.dns.disableIPv6.” Double click this line to set it to “true.”

Step6
Right click anywhere in the window, select “new” and then “Boolean” from the menu. In the field that pops up, enter “content.interrupt.parsing.” When prompted, set the value to “true.” This allows your browser to interrupt page parsing, making it even more efficient.