tag:blogger.com,1999:blog-126676302024-03-13T23:02:11.001+05:00Aleem's BlogSystem.CodeDom.Compiler.ICodeGeneratorAbdul Aleemhttp://www.blogger.com/profile/14102642005953747820noreply@blogger.comBlogger81125tag:blogger.com,1999:blog-12667630.post-21838093339694227502012-03-23T01:42:00.001+05:002012-03-23T01:42:18.078+05:00Re:Make money in the Internet. We show you how it works <a href="http://trameocom.com/homeprofits.php?enCID=f7byx">http://trameocom.com/homeprofits.php?enCID=f7byx</a>Abdul Aleemhttp://www.blogger.com/profile/14102642005953747820noreply@blogger.com47tag:blogger.com,1999:blog-12667630.post-45643642731737559012006-10-12T21:47:00.000+05:002006-10-12T21:46:56.671+05:00Finally Moved to Wordpress !<div class=Section1> <p class=MsoNormal><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'>Finally, I have shifted <a href="http://aleemkhan.wordpress.com/">my Blog</a> to <b><span style='font-weight:bold'><a href="http://www.wordpress.com/">Wordpress</a></span></b>. My Wordpress Blog is <a href="http://aleemkhan.wordpress.com/">http://aleemkhan.wordpress.com</a>, the feed address is <a href="http://aleemkhan.wordpress.com/feed">http://aleemkhan.wordpress.com/feed</a>. I will discontinue posting here and will be posting only on Wordpress from now on. This was due for quite some time now because all the Blogger issues I have been having, and specially the Blogger Beta even sucked more than Blogger, nothing could work with Blogger Beta and this ultimately pushed me to move.<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'><o:p> </o:p></span></font></p> <p class=MsoNormal><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'> <o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'><o:p> </o:p></span></font></p> </div> Abdul Aleemhttp://www.blogger.com/profile/14102642005953747820noreply@blogger.com21tag:blogger.com,1999:blog-12667630.post-13080687261207036802006-10-10T02:56:00.000+05:002006-10-10T02:54:59.068+05:00Google BlogSearch Ping Service<div class=Section1> <p class=MsoNormal><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'>Google <a href="http://googleblog.blogspot.com/2006/10/got-blog-will-ping.html">Launched</a> the <a href="http://blogsearch.google.com/ping">Ping Service</a> for Blogs. I don’t think it makes much of difference for Blogger Blogs as they are immediately indexed and are searchable through <a href="http://blogsearch.google.com/">Google BlogSearch</a>, but for other blogging engines and individual bloggers it is a good service.<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'><o:p> </o:p></span></font></p> </div> Abdul Aleemhttp://www.blogger.com/profile/14102642005953747820noreply@blogger.com9tag:blogger.com,1999:blog-12667630.post-54608811265829145842006-10-10T02:09:00.000+05:002006-10-10T02:07:58.836+05:00Google Buys YouTube<div class=Section1> <p class=MsoNormal><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'>So, the speculation which has been around for many days was true. Google finally bought YouTube for $1.65 billion. The price is really shocking considering YouTube only started in February 2005. YouTube growth is really inspirational, in such a short period the company reached to a worth of $1.65 billion with around 20 million visitors per month. Amazing! <o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'><o:p> </o:p></span></font></p> <p class=MsoNormal><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'>More details <a href="http://news.bbc.co.uk/2/hi/business/6034577.stm">here</a><o:p></o:p></span></font></p> </div> Abdul Aleemhttp://www.blogger.com/profile/14102642005953747820noreply@blogger.com19tag:blogger.com,1999:blog-12667630.post-4204648288154760522006-10-09T14:44:00.001+05:002006-10-09T14:44:46.466+05:00Statue of Yoda !<div style="float: right; margin-left: 10px; margin-bottom: 10px;"> <a href="http://www.flickr.com/photos/27226225@N00/264826546/" title="photo sharing"><img src="http://static.flickr.com/93/264826546_5c6cadf621.jpg" alt="" style="border: solid 2px #000000;" /></a> <br /> <span style="font-size: 0.9em; margin-top: 0px;"> <a href="http://www.flickr.com/photos/27226225@N00/264826546/">Statue of Yoda !</a> <br /> Originally uploaded by <a href="http://www.flickr.com/people/27226225@N00/">aleemkhan</a>. </span></div>Dave Winer posted <http://www.scripting.com/2006/10/08.html#When:7:58:04PM><br /><br />this picture of Yoda Statue at Lucas Studios. Actually am testing my Flickr<br /><br /><http://www.flickr.com/> account to post on Blogger Beta<br /><br /><http://beta.blogger.com/> through mail.<br clear="all" />Abdul Aleemhttp://www.blogger.com/profile/14102642005953747820noreply@blogger.com15tag:blogger.com,1999:blog-12667630.post-26667392031899730792006-10-08T17:56:00.000+05:002006-10-08T17:58:42.126+05:00Hilarious Comedian !Was just watching some videos on MetaCafe and found this one!<br /><br /><embed pluginspage="http://www.macromedia.com/go/getflashplayer" src="http://www.metacafe.com/fplayer/228163/comedy_central_presents_adam_ferrara.swf" width="460" height="350" type="application/x-shockwave-flash" wmode="transparent" flashvars="playerVars=videoTitle=Comedy Central Presents - Adam FerrarashowStats=yesautoPlay=noblogName=Aleem's BlogblogURL=http://abdulaleemkhan.blogspot.com&displayMode=normal"></embed><br /><span style="font-size:78%;"><a href="http://www.metacafe.com/watch/228163/comedy_central_presents_adam_ferrara/">Comedy Central Presents - Adam Ferrara - video powered by Metacafe</a></span>Abdul Aleemhttp://www.blogger.com/profile/14102642005953747820noreply@blogger.com2tag:blogger.com,1999:blog-12667630.post-41829228676858764892006-10-08T03:39:00.000+05:002006-10-08T03:38:02.467+05:00ASP.NET SiteMap Security Trimings<div class=Section1> <p class=MsoNormal><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'>It is a general requirement in any ASP.NET application to restrict the site navigation for certain roles and allow access for others. Recently I had to restrict the site map of my application based on the roles but as I was not aware of the available site map trimming settings, I made a similar model myself adding extra attributes to my site map nodes and as I am using a <b><span style='font-weight:bold'>TreeView</span></b> control for binding to the <b><span style='font-weight:bold'>SiteMapDataSource</span></b>, I used the TreeView <b><span style='font-weight:bold'>DataBound</span></b> method to access the <b><span style='font-weight:bold'>SiteMapNode</span></b> attributes and then checking their permission from the Database.<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'><o:p> </o:p></span></font></p> <p class=MsoNormal><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'>Fortunately the ASP.NET 2.0 provides trimming of the <b><span style='font-weight:bold'>SiteMapNodes</span></b> based on the available Roles from the underlying <b><span style='font-weight: bold'>RolesProvider</span></b>. You need to provide the <b><span style='font-weight:bold'>roles attribute</span></b> in the SiteMapNode and specify the role to which this note is accessible (* can be used for all roles).<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'><o:p> </o:p></span></font></p> <p class=MsoNormal><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode";letter-spacing:-.75pt'><?xml version="1.0" encoding="utf-8" ?> <o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode";letter-spacing:-.75pt'><siteMap> <o:p></o:p></span></font></p> <p class=MsoNormal style='text-indent:.5in'><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"; letter-spacing:-.75pt'><siteMapNode title="Support" description="Support" url="~/Customers/Support.aspx" <b><span style='font-weight:bold'>roles="Customers"</span></b> /> <o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode";letter-spacing:-.75pt'></siteMap></span></font><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family: "Lucida Sans Unicode"'><o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'><o:p> </o:p></span></font></p> <p class=MsoNormal><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'>You also need to enable the security trimming settings in the web.config as they are disabled by default.<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'><o:p> </o:p></span></font></p> <p class=MsoNormal><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode";letter-spacing:-.75pt'><system.web> <o:p></o:p></span></font></p> <p class=MsoNormal style='text-indent:.5in'><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"; letter-spacing:-.75pt'><siteMap defaultProvider="XmlSiteMapProvider" enabled="true"> <o:p></o:p></span></font></p> <p class=MsoNormal style='margin-left:.5in;text-indent:.5in'><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"; letter-spacing:-.75pt'><providers> <o:p></o:p></span></font></p> <p class=MsoNormal style='margin-left:1.0in;text-indent:.5in'><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"; letter-spacing:-.75pt'><add name="XmlSiteMapProvider" description="Default SiteMap provider." type="System.Web.XmlSiteMapProvider " siteMapFile="Web.sitemap" securityTrimmingEnabled="true" /> <o:p></o:p></span></font></p> <p class=MsoNormal style='margin-left:.5in;text-indent:.5in'><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"; letter-spacing:-.75pt'></providers> <o:p></o:p></span></font></p> <p class=MsoNormal style='margin-left:.5in'><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"; letter-spacing:-.75pt'></siteMap> <o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode";letter-spacing:-.75pt'></system.web></span></font><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family: "Lucida Sans Unicode"'><o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'><o:p> </o:p></span></font></p> <p class=MsoNormal><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'><o:p> </o:p></span></font></p> <p class=MsoNormal><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'>For More information about the sitemap trimming is available in MSDN <a href="http://msdn2.microsoft.com/en-us/library/ms178428.aspx">here</a>.<o:p></o:p></span></font></p> </div> Abdul Aleemhttp://www.blogger.com/profile/14102642005953747820noreply@blogger.com1tag:blogger.com,1999:blog-12667630.post-14197408571989828062006-10-06T15:27:00.000+05:002006-10-06T15:26:14.960+05:00Logging User Dynamically in ASP.NET<div class=Section1> <p class=MsoNormal><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'>The entire authentication and authorization model in ASP.NET 2.0 is quite improved from the previous version. The addition of the new Login Controls and the whole Membership and Roles Management through provider model has really made the entire security architecture easy to use yet extremely customizable.<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'><o:p> </o:p></span></font></p> <p class=MsoNormal><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'>Last night I was looking for a way to Log-In user automatically (without his password) thorugh my code, actually the scenario is that the user actually logs in from another site and is redirected to my site with the username in the request. Now I have the username, no password and how do I log this user in (or create an authentication token for him). A <a href="http://weblogs.asp.net/scottgu/archive/2006/02/24/438953.aspx">post</a> from <a href="http://weblogs.asp.net/scottgu/default.aspx">Scott Guthrie</a> came to the rescue. An authentication token for any user even if you do not have him password can be set with<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'><o:p> </o:p></span></font></p> <p class=MsoNormal><font size=2 face="Courier New"><span style='font-size:10.0pt; font-family:"Courier New"'>FormsAuthentication.SetAuthCookie(LoggedInUserName, <font color=blue><span style='color:blue'>False</span></font>)<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 face="Courier New"><span style='font-size:10.0pt; font-family:"Courier New"'><o:p> </o:p></span></font></p> <p class=MsoNormal><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'>Where LoggedInUserName is the username for which you want to set the authentication token. Now ok I can authenticate the user and log him in but the authorization of my website is set to deny the anonymous user so the user cannot even access the Default.aspx where I actually write the above code for creating a token.<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'><o:p> </o:p></span></font></p> <p class=MsoNormal><font size=2 color=blue face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";color:blue'><</span></font><font size=2 color=maroon face="Courier New"><span style='font-size:10.0pt; font-family:"Courier New";color:maroon'>system.web</span></font><font size=2 color=blue face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"; color:blue'>></span></font><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'><o:p></o:p></span></font></p> <p class=MsoNormal style='text-indent:.5in;text-autospace:none'><font size=2 color=blue face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"; color:blue'><</span></font><font size=2 color=maroon face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";color:maroon'>authorization</span></font><font size=2 color=blue face="Courier New"><span style='font-size:10.0pt;font-family: "Courier New";color:blue'>><o:p></o:p></span></font></p> <p class=MsoNormal style='text-autospace:none'><font size=2 color=blue face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"; color:blue'> <</span></font><font size=2 color=maroon face="Courier New"><span style='font-size:10.0pt; font-family:"Courier New";color:maroon'>deny</span></font><font size=2 color=blue face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"; color:blue'> </span></font><font size=2 color=red face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";color:red'>users</span></font><font size=2 color=blue face="Courier New"><span style='font-size:10.0pt;font-family: "Courier New";color:blue'>=</span></font><font size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>"<font color=blue><span style='color:blue'>?</span></font>"<font color=blue><span style='color:blue'> /><o:p></o:p></span></font></span></font></p> <p class=MsoNormal style='text-indent:.5in;text-autospace:none'><font size=2 color=blue face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"; color:blue'></</span></font><font size=2 color=maroon face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";color:maroon'>authorization</span></font><font size=2 color=blue face="Courier New"><span style='font-size:10.0pt;font-family: "Courier New";color:blue'>><o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=blue face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";color:blue'></</span></font><font size=2 color=maroon face="Courier New"><span style='font-size:10.0pt; font-family:"Courier New";color:maroon'>system.web</span></font><font size=2 color=blue face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"; color:blue'>></span></font><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'><o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'><o:p> </o:p></span></font></p> <p class=MsoNormal><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'>There is a simple workaround to this also as you can specify different authorization for any particular path/location in your website. So the following will allow access to the default page to anonymous users but restrict rest of the site of the logged in user.<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'><o:p> </o:p></span></font></p> <p class=MsoNormal style='text-autospace:none'><font size=2 color=blue face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"; color:blue'><</span></font><font size=2 color=maroon face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";color:maroon'>location</span></font><font size=2 color=blue face="Courier New"><span style='font-size:10.0pt;font-family: "Courier New";color:blue'> </span></font><font size=2 color=red face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"; color:red'>path</span></font><font size=2 color=blue face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";color:blue'>=</span></font><font size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>"<font color=blue><span style='color:blue'>default.aspx</span></font>"<font color=blue><span style='color:blue'>><o:p></o:p></span></font></span></font></p> <p class=MsoNormal style='text-autospace:none'><font size=2 color=blue face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"; color:blue'> <</span></font><font size=2 color=maroon face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"; color:maroon'>system.web</span></font><font size=2 color=blue face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";color:blue'>><o:p></o:p></span></font></p> <p class=MsoNormal style='text-autospace:none'><font size=2 color=blue face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"; color:blue'> <</span></font><font size=2 color=maroon face="Courier New"><span style='font-size:10.0pt; font-family:"Courier New";color:maroon'>authorization</span></font><font size=2 color=blue face="Courier New"><span style='font-size:10.0pt;font-family: "Courier New";color:blue'>><o:p></o:p></span></font></p> <p class=MsoNormal style='text-autospace:none'><font size=2 color=blue face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"; color:blue'> <</span></font><font size=2 color=maroon face="Courier New"><span style='font-size:10.0pt; font-family:"Courier New";color:maroon'>allow</span></font><font size=2 color=blue face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"; color:blue'> </span></font><font size=2 color=red face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";color:red'>users</span></font><font size=2 color=blue face="Courier New"><span style='font-size:10.0pt;font-family: "Courier New";color:blue'> =</span></font><font size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>"<font color=blue><span style='color:blue'>*</span></font>"<font color=blue><span style='color:blue'> /><o:p></o:p></span></font></span></font></p> <p class=MsoNormal style='text-autospace:none'><font size=2 color=blue face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"; color:blue'> </</span></font><font size=2 color=maroon face="Courier New"><span style='font-size:10.0pt; font-family:"Courier New";color:maroon'>authorization</span></font><font size=2 color=blue face="Courier New"><span style='font-size:10.0pt;font-family: "Courier New";color:blue'>><o:p></o:p></span></font></p> <p class=MsoNormal style='text-autospace:none'><font size=2 color=blue face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"; color:blue'> </</span></font><font size=2 color=maroon face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"; color:maroon'>system.web</span></font><font size=2 color=blue face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";color:blue'>><o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=blue face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";color:blue'></</span></font><font size=2 color=maroon face="Courier New"><span style='font-size:10.0pt; font-family:"Courier New";color:maroon'>location</span></font><font size=2 color=blue face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"; color:blue'>></span></font><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'><o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'><o:p> </o:p></span></font></p> <p class=MsoNormal><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'>Some good resources about ASP.NET 2.0 Authentication and Authorization and Security on the whole are as follows.<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'><o:p> </o:p></span></font></p> <p class=MsoNormal><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'><a href="http://weblogs.asp.net/scottgu/archive/2006/02/24/438953.aspx">Scott Guthrie Post about ASP.NET 2.0 Security Resources</a><o:p></o:p></span></font></p> <p class=MsoNormal><b><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode";font-weight:bold'><o:p> </o:p></span></font></b></p> <p class=MsoNormal><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'><a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag2/html/PAGHT000012.asp?_r=1">How To: Protect Forms Authentication in ASP.NET<o:p></o:p></a></span></font></p> <p class=MsoNormal><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'><o:p> </o:p></span></font></p> <p class=MsoNormal><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'><a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag2/html/PAGExplained0002.asp">Explained: Forms Authentication in ASP.NET 2.0</a><o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'><o:p> </o:p></span></font></p> <p class=MsoNormal><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'><a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag2/html/PAGGuidelines0001.asp">Security Guidelines: ASP.NET 2.0</a><o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'><o:p> </o:p></span></font></p> </div> Abdul Aleemhttp://www.blogger.com/profile/14102642005953747820noreply@blogger.com0tag:blogger.com,1999:blog-12667630.post-20922692903130168682006-10-06T15:05:00.000+05:002006-10-06T15:04:17.224+05:00HTML Legend and Fieldset Tags<div class="Section1"><p class="MsoNormal"><span style="font-family:Lucida Sans Unicode;font-size:85%;"><span style="font-family:'Lucida Sans Unicode';font-size:10;">I never used the HTML <Legend> and <Fieldset> until recently when I had to create a GroupBox for the controls on a web page. These tags are really amazing; they create a groupbox with rounded corners with Legend on the top. Actually the ASP.NET Panel control has a <b><span style="FONT-WEIGHT: bold">GroupingText</span></b> Property, if you specify this property; the panel renders a field set with <b><span style="FONT-WEIGHT: bold">GroupingText</span></b> set as the Legend.<?xml:namespace prefix = o /><o:p></o:p></span></span></p><p class="MsoNormal"><span style="font-family:Lucida Sans Unicode;font-size:85%;"><span style="font-family:'Lucida Sans Unicode';font-size:10;"><o:p> </o:p></span></span></p><p class="MsoNormal"><span style="font-family:Lucida Sans Unicode;font-size:85%;"><span style="font-family:'Lucida Sans Unicode';font-size:10;"><Fieldset><o:p></o:p></span></span></p><p class="MsoNormal" style="TEXT-INDENT: 0.5in"><span style="font-family:Lucida Sans Unicode;font-size:85%;"><span style="font-family:'Lucida Sans Unicode';font-size:10;"><Legend>HTML Group Box</Legend><o:p></o:p></span></span></p><p class="MsoNormal"><span style="font-family:Lucida Sans Unicode;font-size:85%;"><span style="font-family:'Lucida Sans Unicode';font-size:10;"> <o:p></o:p></span></span></p><p class="MsoNormal"><span style="font-family:Lucida Sans Unicode;font-size:85%;"><span style="font-family:'Lucida Sans Unicode';font-size:10;"> <!--Rest of the GroupBox code --><o:p></o:p></span></span></p><p class="MsoNormal"><span style="font-family:Lucida Sans Unicode;font-size:85%;"><span style="font-family:'Lucida Sans Unicode';font-size:10;"> <o:p></o:p></span></span></p><p class="MsoNormal"><span style="font-family:Lucida Sans Unicode;font-size:85%;"><span style="font-family:'Lucida Sans Unicode';font-size:10;"></FieldSet><o:p></o:p></span></span></p><p class="MsoNormal"><span style="font-family:Lucida Sans Unicode;font-size:85%;"><span style="font-family:'Lucida Sans Unicode';font-size:10;"><o:p> </o:p></span></span></p></div>Abdul Aleemhttp://www.blogger.com/profile/14102642005953747820noreply@blogger.com0tag:blogger.com,1999:blog-12667630.post-35928796266803565302006-09-28T22:01:00.000+05:002006-09-28T22:04:38.492+05:00Musharraf Daily Show Video LinkJust Forgot to put the link to the Video on the previous post. Here it is<br /><br /><br /><embed src="http://www.youtube.com/v/An-TUDrAflE" width="425" height="350" type="application/x-shockwave-flash" wmode="transparent"></embed>Abdul Aleemhttp://www.blogger.com/profile/14102642005953747820noreply@blogger.com3tag:blogger.com,1999:blog-12667630.post-80518803324842121212006-09-28T21:30:00.000+05:002006-09-28T21:28:48.107+05:00Musharraf on Daily Show<div class=Section1> <p class=MsoNormal><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'>President Musharraf <a href="http://www.topix.net/content/wapo/4122067375186721997739540227691328513125">appears on the Daily Show</a> and has some good chuckles with Jon Stewart. Well Musharraf seems to be on a real marketing move for the book, a bit too much I guess.<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'><o:p> </o:p></span></font></p> </div> Abdul Aleemhttp://www.blogger.com/profile/14102642005953747820noreply@blogger.com0tag:blogger.com,1999:blog-12667630.post-55347927740744050802006-09-27T01:30:00.000+05:002006-09-27T01:27:54.204+05:00In the Line of Fire<div class=Section1> <p class=MsoNormal><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'><a href="http://www.amazon.com/Line-Fire-Memoir-Pervez-Musharraf/dp/0743283449/sr=8-12/qid=1159283151/ref=sr_1_12/102-9400978-4496106?ie=UTF8&s=books">“In the Line of Fire” by Pervez Musharraf</a> has been released today and already it is promising to be a best seller, well why it shouldn’t be when the President himself has caused sensation about the book by providing controversial excerpts from the book during his recent US visit (even during Bush-Musharraf press conference the book came up). The book is certainly going to earn a fortune for the publishers and Musharraf himself.<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'><o:p> </o:p></span></font></p> <p class=MsoNormal><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'>I have not read the book, but I would love to read it after all the buzz about the content. However, I have read some reviews and most people believe that the book is definitely ghost written with Musharraf’s insights. Also people believe that book may not be all facts but mostly the views about people and events in Musharraf’s own patriotic and military mind. (I praise him of being a patriot). I also read that the book has really <a href="http://www.geo.tv/geonews/details.asp?id=132229">negative views/comments about A.Q Khan</a> and his <a href="http://news.bbc.co.uk/2/hi/south_asia/4118939.stm">alleged network of nuclear proliferation</a>, personally I believe like most of the other Pakistanis that the whole A.Q Khan drama was a big cover up from <st1:place w:st="on"><st1:country-region w:st="on">Pakistan</st1:country-region></st1:place> government. It’s disappointing though that Musharraf brought all this drama to his book. AQ Khan drama might be true but doesn’t sound realistic because either he is too damn smart and all the Pakistani governments and intelligence during the 90’s were so stupid, or Musharraf and his government has screwed the National Hero really bad.<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'><o:p> </o:p></span></font></p> <p class=MsoNormal><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'>Overall I am a strong Musharraf supporter (still), he may not be the best option but it’s basically a choice between an arrogant military patriot and a bunch of stupid, illiterate and corrupt politicians, so I go with the patriot. <o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'><o:p> </o:p></span></font></p> <p class=MsoNormal><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'>I’ll try to put down my personal review if I ever get to read the book</span></font><font size=2 face=Wingdings><span style='font-size:10.0pt;font-family:Wingdings'>J</span></font><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family: "Lucida Sans Unicode"'>. <o:p></o:p></span></font></p> </div> Abdul Aleemhttp://www.blogger.com/profile/14102642005953747820noreply@blogger.com5tag:blogger.com,1999:blog-12667630.post-79573877934275517162006-09-27T00:54:00.000+05:002006-09-27T00:52:41.180+05:00Google Blogs About Ansari !<div class=Section1> <p class=MsoNormal><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'>Ansari Called Google’s Lary Page from the International Space Station, a long distance calls indeed</span></font><font size=2 face=Wingdings><span style='font-size:10.0pt;font-family:Wingdings'>J</span></font><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family: "Lucida Sans Unicode"'>. <a href="http://googleblog.blogspot.com/2006/09/our-call-from-space.html">Google Blog</a> gives some more insight into the communication, meanwhile Ansari continues to <a href="http://spaceblog.xprize.org/">Blog about her experience</a>.<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'><o:p> </o:p></span></font></p> </div> Abdul Aleemhttp://www.blogger.com/profile/14102642005953747820noreply@blogger.com2tag:blogger.com,1999:blog-12667630.post-8838395181138584322006-09-24T17:01:00.000+05:002006-09-24T17:02:20.293+05:00WOW! What an Adventure She's Having<p>Just saw Anousheh Ansari's Space Blog (She is the space tourist currently on ISS), and <a href="http://spaceblog.xprize.org/2006/09/22/the-trip-up/">read her post</a> which she posted from ISS(International Space Station). Wow ! she seemed to be really enjoying her trip, and who will not ?. Its an adventure of a life time and comes at a cost too ($20 million) ... lol.</p><p>Its interesting to read the space experience of an ordinary person and not from the astronomer's perspective. I really wish Space Travel becomes more easy and common (and cheaper :d) in our life times, so maybe then me and <a href="http://abdulazeem.wordpress.com/">Azeem</a> and go on a Trip).... I wish :)</p>Abdul Aleemhttp://www.blogger.com/profile/14102642005953747820noreply@blogger.com0tag:blogger.com,1999:blog-12667630.post-1158861371909093272006-09-21T22:56:00.000+05:002006-09-21T22:58:56.136+05:00Azeem on Blogs<p>Last week when I was in Pakistan, <a href="http://abdulazeem.wordpress.com/">Azeem</a> (my yonger brother) seemed super excited about blogging, he created a blog at blogspot around six months back but never used it actively. <a href="http://abdulazeem.wordpress.com/">This time its good to see him active</a>. I hope he continues, atleast I'll have some good links on history and politics. :)</p>Abdul Aleemhttp://www.blogger.com/profile/14102642005953747820noreply@blogger.com0tag:blogger.com,1999:blog-12667630.post-1158617552738654542006-09-19T03:12:00.000+05:002006-09-19T03:12:32.750+05:00REUNION of BCSS01 and BCSF01<p>Its hard to believe that I am back from the long awaited trip to pakistan, was waiting for this from months and the week passed so fast. Apart from meeting the family after 6-7 months, the good thing about the trip was that I got to attend the first ever REUNION of BCSS01 (my batch) and BCSSF01 (my juniors). </p> <p>It was a wonderful event, the paticipation was very low from our batch and most of the teachers could not make it but overall it was really wonderful to meet old friends and have a some time together. Its a good start and I really hope this becomes more formal and an official Alumni gathering in the years to come. </p> <p>Thmbs up to <a href="http://mianfahim.wordpress.com/">Fahim</a> for floating the idea and all his friends who were involved in making this happen. Another nice thing about this event was that we got a chance to float an idea of a Alumni Sponsored Needy Scholarship for <a href="http://www.pucit.edu.pk">PUCIT</a> students. </p> <p>Actually I am quite late to blog about this, <a href="http://mianfahim.wordpress.com/2006/09/11/pucit-reunion-first-two-batches/">Fahim has been waiting for haroon and my comments</a> about the event (<a href="http://haroonsaeed.wordpress.com">Haroon</a> does'nt seem to get time to write). <a href="http://rana-hammad.blogspot.com/2006/09/reunion-of-bcss01-and-bcsf01.html">Hammad(bunty)</a>, <a href="http://ayazshahid.wordpress.com/2006/09/11/the-re-union/">Ayaz</a> and <a href="http://kashifkaleem.wordpress.com/2006/09/10/pucit-alumni-get-togather-sept-10th/">Kashif</a> have also written about thier experiences.</p> <p>I am trying to upload some pictures but this Blogger Picutre Upload is giving me tough time, will upload later.</p>Abdul Aleemhttp://www.blogger.com/profile/14102642005953747820noreply@blogger.com2tag:blogger.com,1999:blog-12667630.post-1158530656884444322006-09-18T03:04:00.000+05:002006-09-18T03:05:57.310+05:00Apology From POPE<p>I just read that <a href="http://news.bbc.co.uk/2/hi/europe/5353208.stm">POPE In-Person apologized</a> for his earlier address. I think this is very responsible step at this stage. Although Muslim leaders around the world are still outraged and asking for a more direct apology, but personally <a href="http://abdulaleemkhan.blogspot.com/2006/09/pope-controversy.html">I think we should not be so outraged in the first place.</a> </p><p>Anyway I hope this crisis gets over wihtout any furthur damage.</p>Abdul Aleemhttp://www.blogger.com/profile/14102642005953747820noreply@blogger.com1tag:blogger.com,1999:blog-12667630.post-1158530097024216962006-09-18T02:54:00.000+05:002006-09-18T02:54:57.106+05:00The POPE Controversy<p></p> <p>Surely the Pope’s comments have outraged Muslims all around the world. Although he quoted a previous conversation from history (did not say the controversial sentences directly) but one cannot say that he quoted this for the mere purpose of proving his point. He could have easily given various other examples about the topic <i>“Religion and Politics”</i> (the actual topic of his complete lecture) from the long and Bloody history of Christianity. <b>So, definitely the western interests are be behind this and this may be another way of causing outrage and frustration among Muslims.</b> <p><b>However, I do not understand why we are once again so outraged about this</b>. The POPE is not a Muslim, he definitely does not believe in Prophet Muhammad and I think no Christian Does. Also, he does not believe in Islam nor he should be expected to have any respect for Islam or the Prophet Muhammad. So, the POPE or any other Christian believes something wrong and disrespectful about Islam is not something new, at least for me. <p>Now some people say, that why don’t the Christians (including the POPE) do not respect our religion and Prophet like we Respect their Religion and Prophet (Hazrat Issa). The answer to this question is that Respecting Christianity is a part of our religion because our religion requires us to believe in Christianity and Hazrat Issa, but Christianity does not require Christians to believe in Islam or the Prophet Muhammad. It is actually the same thing if we analyze how much we respect Hinduism/Buddhism as compared to Christianity because Islam does not requires us to believe in Hinduism or Buddhism. So we do not respect Hinduism and their Gods or their Messengers/Prophet (as they believe) like we respect other religions which are directly mentioned in the Holy Quran. <p><b>I do agree completely that according to the current situation of the WORLD, harmony and respect for each other’s religion is very crucial for living together and someone like POPE who influences many should not have given such a controversial example about the 2<sup>nd</sup> major religion of the world</b>. If this is the issue that we raise and this is the point we stress on, <b>we</b> <b>stand justified (according to my understanding) and we will be able to convey a valid point to the World</b>, but if we take this emotionally and consider this as an attack on our religion (exactly as we are doing now) and react in the same way we did a few months back with Violence on the streets, we will be letting WEST win and giving them another reason to portray a negative image of our humble Religion Islam. <p>Portraying a Humble, Noble and a True Image of Islam to the world is our responsibility and this can only be achieved by intelligence, wisdom and tolerance not by mere emotions and burning our own countries.</p>Abdul Aleemhttp://www.blogger.com/profile/14102642005953747820noreply@blogger.com0tag:blogger.com,1999:blog-12667630.post-1157315293237734032006-09-04T01:28:00.000+05:002006-09-04T01:28:13.243+05:00Yeh! Passed Driving Test<p>Today was a great day, early in the morning I passed the driving test for the LMV (Light Motor Vehicle) and got the Driving Licnese. I simply believe that it was due to the grace of Allah. I have failed one before in last month, but even getting License in second attempt is an achievement in Dubai.</p> <p>Now have to start looking for a good car, but probably after I get back from the visit to Pakistan next week. Yes finally going to Pakistan after 7 months, really excited to meet family & friends there.</p>Abdul Aleemhttp://www.blogger.com/profile/14102642005953747820noreply@blogger.com1tag:blogger.com,1999:blog-12667630.post-1157060176984264902006-09-01T02:24:00.000+05:002006-09-01T02:36:17.003+05:00Do not believe everything on net !<p>Got this cool comic in mail, a good complement to a bulk of the irritating mails on the mailing lists, that people keep forwarding without verification. </p><br /><a href="http://photos1.blogger.com/blogger/5121/1084/1600/bart.jpg"><img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/5121/1084/320/bart.jpg" border="0" /></a>Abdul Aleemhttp://www.blogger.com/profile/14102642005953747820noreply@blogger.com4tag:blogger.com,1999:blog-12667630.post-1156789647262654052006-08-28T23:27:00.000+05:002006-08-28T23:27:27.276+05:00Why Collation Affects T-SQL Syntax<div class=Section1> <p class=MsoNormal style='text-autospace:none'><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'>This is something really intersting, atleast for me this is completely new and is still sort of mystery like what’s going on. Today I deployed a SQL Server 2005 Database on one of the test servers at office and during the test my application started crashing. I was getting declaration errors form the database.<o:p></o:p></span></font></p> <p class=MsoNormal style='text-autospace:none'><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'><o:p> </o:p></span></font></p> <p class=MsoNormal style='text-autospace:none'><i><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"; font-style:italic'>“Must declare Variable @ApplicaitonID “<o:p></o:p></span></font></i></p> <p class=MsoNormal style='text-autospace:none'><i><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"; font-style:italic'><o:p> </o:p></span></font></i></p> <p class=MsoNormal style='text-autospace:none'><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'>It appeared that all the variables were declared but they were declared in difference a CASE and used in different CASE, well this should’nt be a problem, I have been using T-SQL without case sensitivity for long, but when I corrected the case everything seemed fine. The <b><span style='font-weight: bold'>EXEC master.dbo.sp_server_info</span></b> returned the following results (given at the end) and you can see the <b><span style='font-weight:bold'>IDENTIFIER_CASE</span></b> parameter set to <b><span style='font-weight:bold'>SENSITIVE</span></b>, Actually it should be <b><span style='font-weight:bold'>MIXED</span></b>. Anyway I tried to find how to change this parameter but it seems that there is no direct way to change it. <o:p></o:p></span></font></p> <p class=MsoNormal style='text-autospace:none'><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'><o:p> </o:p></span></font></p> <p class=MsoNormal style='text-autospace:none'><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'>This parameter depends on the Collation so apperently there is a problem with the Collation, ok now I have to change the Collation to <b><span style='font-weight: bold'>SQL_Latin1_General_CP1_CI_AS</span></b> From <b><span style='font-weight: bold'>Latin1_General_BIN</span></b>. Now chaning collation on the database server is a long hard process, you have backup all your data and tables and reinstall the <b><span style='font-weight:bold'>Database Engine</span></b> with different collation and restore everything back.<o:p></o:p></span></font></p> <p class=MsoNormal style='text-autospace:none'><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'><o:p> </o:p></span></font></p> <p class=MsoNormal style='text-autospace:none'><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'>The First thing I do not understand is that why collation is applied on the Variable Names (T-SQL Syntax), I always thought collation was something only for the comaprison/Case-Sensitivity of database data and something which will not be used for procedure compilation. I do not understand this and I’ll have to find some answer for this.<o:p></o:p></span></font></p> <p class=MsoNormal style='text-autospace:none'><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'><o:p> </o:p></span></font></p> <p class=MsoNormal style='text-autospace:none'><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'>Secondly, SQL Server 2005 supports different collation settings for each database and the Database Engine itself, and the collation settings on the copied database was fine. I even rechecked it and even tried to set it again but still even with the correct collation I continued to get the same Errors, I opened a procedure from database with the correct collation in <b><span style='font-weight:bold'>Management Studio</span></b> and tried recompiling it, but it was giving a recompilation error because of the case insensitivity. If SQL Server 2005 supports different Collation settings for Server and each individual database why I keep getting this annoying error.<o:p></o:p></span></font></p> <p class=MsoNormal style='text-autospace:none'><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'><o:p> </o:p></span></font></p> <p class=MsoNormal style='text-autospace:none'><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'>If some can explain this to me I will really appreciate.<o:p></o:p></span></font></p> <p class=MsoNormal style='text-autospace:none'><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'><o:p> </o:p></span></font></p> <p class=MsoNormal style='text-autospace:none'><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'><o:p> </o:p></span></font></p> <p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>EXEC master.dbo.sp_server_info<o:p></o:p></span></font></p> <p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'><o:p> </o:p></span></font></p> <p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>attribute_id attribute_name attribute_value<o:p></o:p></span></font></p> <p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>------------ ---------------------------- ---------------------------------------<o:p></o:p></span></font></p> <p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>1 DBMS_NAME Microsoft SQL Server<o:p></o:p></span></font></p> <p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>2 DBMS_VER Microsoft SQL Server <st1:State w:st="on"><st1:place w:st="on">Yukon</st1:place></st1:State> - 9.00.1399<o:p></o:p></span></font></p> <p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>10 OWNER_TERM owner<o:p></o:p></span></font></p> <p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>11 TABLE_TERM table<o:p></o:p></span></font></p> <p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>12 MAX_OWNER_NAME_LENGTH 128<o:p></o:p></span></font></p> <p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>13 TABLE_LENGTH 128<o:p></o:p></span></font></p> <p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>14 MAX_QUAL_LENGTH 128<o:p></o:p></span></font></p> <p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>15 COLUMN_LENGTH 128<o:p></o:p></span></font></p> <p class=MsoNormal style='text-autospace:none'><b><font size=2 color=red face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"; color:red;font-weight:bold'>16 IDENTIFIER_CASE SENSITIVE<o:p></o:p></span></font></b></p> <p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>17 TX_ISOLATION 2<o:p></o:p></span></font></p> <p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>18 COLLATION_SEQ charset=iso_1 collation=Latin1_General_BIN<o:p></o:p></span></font></p> <p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>19 SAVEPOINT_SUPPORT Y<o:p></o:p></span></font></p> <p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>20 MULTI_RESULT_SETS Y<o:p></o:p></span></font></p> <p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>22 ACCESSIBLE_TABLES Y<o:p></o:p></span></font></p> <p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>100 USERID_LENGTH 128<o:p></o:p></span></font></p> <p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>101 QUALIFIER_TERM database<o:p></o:p></span></font></p> <p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>102 NAMED_TRANSACTIONS Y<o:p></o:p></span></font></p> <p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>103 SPROC_AS_LANGUAGE Y<o:p></o:p></span></font></p> <p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>104 ACCESSIBLE_SPROC Y<o:p></o:p></span></font></p> <p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>105 MAX_INDEX_COLS 16<o:p></o:p></span></font></p> <p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>106 RENAME_TABLE Y<o:p></o:p></span></font></p> <p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>107 RENAME_COLUMN Y<o:p></o:p></span></font></p> <p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>108 DROP_COLUMN Y<o:p></o:p></span></font></p> <p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>109 INCREASE_COLUMN_LENGTH Y<o:p></o:p></span></font></p> <p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>110 DDL_IN_TRANSACTION Y<o:p></o:p></span></font></p> <p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>111 DESCENDING_INDEXES Y<o:p></o:p></span></font></p> <p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>112 SP_RENAME Y<o:p></o:p></span></font></p> <p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>113 REMOTE_SPROC Y<o:p></o:p></span></font></p> <p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>500 SYS_SPROC_VERSION 9.00.1399<o:p></o:p></span></font></p> <p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'><o:p> </o:p></span></font></p> <p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>(29 row(s) affected)<o:p></o:p></span></font></p> <p class=MsoNormal style='text-autospace:none'><font size=1 face="Courier New"><span style='font-size:8.0pt;font-family:"Courier New"'><o:p> </o:p></span></font></p> <p class=MsoNormal style='text-autospace:none'><font size=1 face="Courier New"><span style='font-size:8.0pt;font-family:"Courier New"'><o:p> </o:p></span></font></p> <p class=MsoNormal><font size=2 face="Lucida Sans Unicode"><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'><o:p> </o:p></span></font></p> </div>Abdul Aleemhttp://www.blogger.com/profile/14102642005953747820noreply@blogger.com1tag:blogger.com,1999:blog-12667630.post-1156786630923633612006-08-28T22:37:00.000+05:002006-08-28T22:37:10.930+05:00Meda Ishq Wi Toon, Meda Yaar Wi Toon<p>What a classic from Pathanay Khan, but you must have some sort of taste for classical music. 17 minutes of amazing voice and music ! ........ took most of the days pressure off my mind.</p>Abdul Aleemhttp://www.blogger.com/profile/14102642005953747820noreply@blogger.com0tag:blogger.com,1999:blog-12667630.post-1156545124628258042006-08-26T03:32:00.000+05:002006-08-26T03:32:04.710+05:00History of Programming Languages<p>I have <a href="http://abdulaleemkhan.blogspot.com/2005/07/history-of-programming-languages-chart.html">posted</a> this <a href="http://www.levenez.com/lang/history.html">link</a> before, but just saw this nicely formatted and colored version from O'Reilly.</p> <p><a href="http://www.oreilly.com/news/graphics/prog_lang_poster.pdf">http://www.oreilly.com/news/graphics/prog_lang_poster.pdf</a></p>Abdul Aleemhttp://www.blogger.com/profile/14102642005953747820noreply@blogger.com0tag:blogger.com,1999:blog-12667630.post-1156536354842183672006-08-26T01:05:00.000+05:002006-08-26T01:05:54.890+05:00Getting in touch with Old Colleagues<p>I go thorugh various blogs, but I thought I should atleast have links to all the Bloggers I personally know, from work, university, old friends even college etc, so its easier to get in touch and see whats going on with them.</p> <p>I keep loosing this one guy Haroon Shafiq, my Senior from University. I found his <a href="http://www.myblogspace.net/haroon">blog</a> in december last year, but now when I open the link I get some advertisement site.</p> <p>I tried to find him and found another of his blogs here <a href="http://my.opera.com/vodkamilkshake/blog/">http://my.opera.com/vodkamilkshake/blog/</a>, does'nt seem to be his active blog, only 2 posts. </p> <p>BTW one of the post had an ineteresting story.. lol ...</p>Abdul Aleemhttp://www.blogger.com/profile/14102642005953747820noreply@blogger.com2tag:blogger.com,1999:blog-12667630.post-1156499940615934202006-08-25T14:59:00.000+05:002006-08-25T15:02:15.683+05:00CSS Background-Image Property Unsupported in XP<p>Was just working on interface of my application last night, and had to make few changes for background of buttons. I used <strong>background-image</strong> CSS property for setting the images for my buttons, everything looked fine untill I tried to access the application on Windows XP. Oh ! no background is displayed on XP. </p><p>Interestingly its a known Bug in Internet Explorer 6.0 which uses windows XP themes to render its controls, now thre are a couple of solutions to this, one is to use <strong>background </strong>istead of background-image and other is to include this</p><p><meta http-equiv="msthemecompatible" content="no"></p><p>to disable XP themes on the page.</p><p><a href="http://support.microsoft.com/default.aspx?scid=kb;en-us;322240&Product=winxp">http://support.microsoft.com/default.aspx?scid=kb;en-us;322240&Product=winxp</a></p><p> </p>Abdul Aleemhttp://www.blogger.com/profile/14102642005953747820noreply@blogger.com0