<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4720603661280222183</id><updated>2012-01-18T23:07:31.577-08:00</updated><category term='server variable'/><category term='innerhtml'/><category term='Tips to write an article'/><category term='IIS 7 Basic Authentication'/><category term='mail'/><category term='smtpserver'/><category term='ASP Cookies'/><category term='Article Writing'/><category term='introduction'/><category term='window.open'/><category term='smtp settings'/><category term='google apps email with godaddy hosting'/><category term='kiosk'/><category term='64 bit windows'/><category term='full screen'/><category term='include'/><category term='cookie'/><category term='ado'/><category term='firefox'/><category term='recordset'/><category term='send'/><category term='refresh parent window'/><category term='window.opener'/><category term='delete'/><category term='get method'/><category term='semi colon expected'/><category term='javascript pop up window'/><category term='ASP.NET web pages'/><category term='child window'/><category term='browser'/><category term='reload parent window'/><category term='pop up window focus'/><category term='pop up window'/><category term='safari'/><category term='asp'/><category term='xml'/><category term='opener'/><category term='window.open()'/><category term='using cookies'/><category term='getelementbyid'/><category term='parent window'/><category term='parent.opener'/><category term='objects'/><category term='cross browser'/><category term='getstring'/><category term='backspace'/><category term='radio button'/><category term='global.asa'/><category term='64 bit OS'/><category term='post method'/><category term='div'/><category term='upload'/><category term='onkeypress'/><category term='session'/><category term='check and uncheck'/><category term='components'/><category term='virtual directory'/><category term='#include'/><category term='UNICODE ASP files are not supported. ASP Error'/><category term='ASP.NET Cookies'/><category term='focus pop up window'/><category term='XML Error'/><title type='text'>Web Development</title><subtitle type='html'>Knowledge Base</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://aspfactor.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://aspfactor.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Sree</name><uri>http://www.blogger.com/profile/06403327332608212296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='http://4.bp.blogspot.com/-JpwkK6MUNu8/TxfBIqLMkwI/AAAAAAAAAM0/hqL5kgmnKkQ/s220/sf_cert_dev_rgb.png'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>34</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4720603661280222183.post-5271362476479411085</id><published>2012-01-16T02:20:00.001-08:00</published><updated>2012-01-16T02:20:55.757-08:00</updated><title type='text'>Remove the Lock Icon over a Folder in Windows 7</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;br /&gt;&lt;div style="background-color: white; color: #333333; line-height: 17px; margin-bottom: 20px; margin-top: 20px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: inherit;"&gt;The lock icon in Windows 7 indicates that the file or folder can only be accessed by you, and not any other user on your computer. If this is desired, then the lock icon is a good way to ensure that those settings are in place. If this isn’t your intention, then it’s an eyesore.&lt;/span&gt;&lt;/div&gt;&lt;div style="background-color: white; color: #333333; line-height: 17px; margin-bottom: 20px; margin-top: 20px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: inherit;"&gt;To remove the lock icon, we have to change the security settings on the folder to allow the Users group to, at the very least, read from the folder.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4720603661280222183-5271362476479411085?l=aspfactor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfactor.blogspot.com/feeds/5271362476479411085/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4720603661280222183&amp;postID=5271362476479411085' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default/5271362476479411085'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default/5271362476479411085'/><link rel='alternate' type='text/html' href='http://aspfactor.blogspot.com/2012/01/remove-lock-icon-over-folder-in-windows.html' title='Remove the Lock Icon over a Folder in Windows 7'/><author><name>Sree</name><uri>http://www.blogger.com/profile/06403327332608212296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='http://4.bp.blogspot.com/-JpwkK6MUNu8/TxfBIqLMkwI/AAAAAAAAAM0/hqL5kgmnKkQ/s220/sf_cert_dev_rgb.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4720603661280222183.post-7054256063432163222</id><published>2011-05-19T20:33:00.000-07:00</published><updated>2011-05-19T20:36:48.719-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='IIS 7 Basic Authentication'/><title type='text'>How to Create Password Protected Directory using iis 7</title><content type='html'>1. Go to the website where you desire to password protect the folder.&lt;div&gt;2. Click on the folder that you want to set password.&lt;/div&gt;&lt;div&gt;3. Double Click on Authentication&lt;/div&gt;&lt;div&gt;4. Disable Anonymous Authentication.&lt;/div&gt;&lt;div&gt;5. Enable Basic Authentication.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Thats it. Now when you try to access any pages in this folder, it will prompt for user name and password. Give any valid user that you have created like FTP user and it will allow.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4720603661280222183-7054256063432163222?l=aspfactor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfactor.blogspot.com/feeds/7054256063432163222/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4720603661280222183&amp;postID=7054256063432163222' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default/7054256063432163222'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default/7054256063432163222'/><link rel='alternate' type='text/html' href='http://aspfactor.blogspot.com/2011/05/how-to-create-password-protected.html' title='How to Create Password Protected Directory using iis 7'/><author><name>Sree</name><uri>http://www.blogger.com/profile/06403327332608212296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='http://4.bp.blogspot.com/-JpwkK6MUNu8/TxfBIqLMkwI/AAAAAAAAAM0/hqL5kgmnKkQ/s220/sf_cert_dev_rgb.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4720603661280222183.post-6715236469580465286</id><published>2011-02-15T21:37:00.000-08:00</published><updated>2011-02-15T21:39:18.441-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='UNICODE ASP files are not supported. ASP Error'/><title type='text'>UNICODE ASP files are not supported Error solution</title><content type='html'>&lt;span style="font-weight: bold; color: rgb(153, 0, 0);"&gt;Error Type:&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;Active Server Pages, ASP 0239 (0x80004005)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;UNICODE ASP files  are not supported.&lt;/span&gt;&lt;br /&gt;&lt;b&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;/cigna/default.asp, line 1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Solutions:&lt;/b&gt;&lt;br /&gt;&lt;span&gt;With your project open, click on File, Advanced Save Options.  Select US-ASCII.&lt;br /&gt;Then click to apply to ALL DOCUMENTS.&lt;br /&gt;It will give you a warning that some characters may not play, but you can ignore that and click No.&lt;br /&gt;From that point forward, all saves should be in ASCII and your pages will work fine.&lt;/span&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4720603661280222183-6715236469580465286?l=aspfactor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfactor.blogspot.com/feeds/6715236469580465286/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4720603661280222183&amp;postID=6715236469580465286' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default/6715236469580465286'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default/6715236469580465286'/><link rel='alternate' type='text/html' href='http://aspfactor.blogspot.com/2011/02/unicode-asp-files-are-not-supported.html' title='UNICODE ASP files are not supported Error solution'/><author><name>Sree</name><uri>http://www.blogger.com/profile/06403327332608212296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='http://4.bp.blogspot.com/-JpwkK6MUNu8/TxfBIqLMkwI/AAAAAAAAAM0/hqL5kgmnKkQ/s220/sf_cert_dev_rgb.png'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4720603661280222183.post-1302343855823060685</id><published>2011-02-13T05:11:00.000-08:00</published><updated>2011-02-13T05:16:38.347-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='semi colon expected'/><category scheme='http://www.blogger.com/atom/ns#' term='XML Error'/><title type='text'>A semi colon character was expected - XML Error</title><content type='html'>&lt;span class="Apple-style-span" style="font-size: 13px; line-height: 20px; "&gt;&lt;p style="margin-top: 5px; margin-right: 5px; margin-bottom: 5px; margin-left: 5px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: Tahoma, Georgia, Arial, 'century gothic', verdana, sans-serif; font-size: 13px; color: rgb(80, 73, 69); "&gt;&lt;b&gt;XML Error&lt;/b&gt;: A semi colon character was expected. Error processing resource –&lt;/p&gt;&lt;p style="margin-top: 5px; margin-right: 5px; margin-bottom: 5px; margin-left: 5px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: Tahoma, Georgia, Arial, 'century gothic', verdana, sans-serif; font-size: 13px; color: rgb(80, 73, 69); "&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;&lt;p style="margin-top: 5px; margin-right: 5px; margin-bottom: 5px; margin-left: 5px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: Tahoma, Georgia, Arial, 'century gothic', verdana, sans-serif; font-size: 13px; color: rgb(80, 73, 69); "&gt;&lt;b&gt;Error Description:&lt;/b&gt;&lt;/p&gt;&lt;p style="margin-top: 5px; margin-right: 5px; margin-bottom: 5px; margin-left: 5px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: Tahoma, Georgia, Arial, 'century gothic', verdana, sans-serif; font-size: 13px; color: rgb(80, 73, 69); "&gt;While  viewing  the xml file in a web browser, sometimes an error "&lt;span&gt;A semi colon character was expected." &lt;/span&gt;Occurs.&lt;/p&gt;&lt;p style="margin-top: 5px; margin-right: 5px; margin-bottom: 5px; margin-left: 5px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: Tahoma, Georgia, Arial, 'century gothic', verdana, sans-serif; font-size: 13px; color: rgb(80, 73, 69); "&gt;&lt;b&gt;Reason:&lt;/b&gt;&lt;/p&gt;&lt;p style="margin-top: 5px; margin-right: 5px; margin-bottom: 5px; margin-left: 5px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: Tahoma, Georgia, Arial, 'century gothic', verdana, sans-serif; font-size: 13px; color: rgb(80, 73, 69); "&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-weight: normal; "&gt;This occurs&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p style="margin-top: 5px; margin-right: 5px; margin-bottom: 5px; margin-left: 5px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: Tahoma, Georgia, Arial, 'century gothic', verdana, sans-serif; font-size: 13px; color: rgb(80, 73, 69); "&gt;1.  When using external links on the XSLT sheet which contains the character “&lt;span&gt;&amp;amp;&lt;/span&gt;”.&lt;/p&gt;&lt;p style="margin-top: 5px; margin-right: 5px; margin-bottom: 5px; margin-left: 5px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: Tahoma, Georgia, Arial, 'century gothic', verdana, sans-serif; font-size: 13px; color: rgb(80, 73, 69); "&gt;2.  When there are html breaks in the content.&lt;/p&gt;&lt;p style="margin-top: 5px; margin-right: 5px; margin-bottom: 5px; margin-left: 5px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: Tahoma, Georgia, Arial, 'century gothic', verdana, sans-serif; font-size: 13px; color: rgb(80, 73, 69); "&gt;3.  When there are quotes in the content.&lt;/p&gt;&lt;p style="margin-top: 5px; margin-right: 5px; margin-bottom: 5px; margin-left: 5px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: Tahoma, Georgia, Arial, 'century gothic', verdana, sans-serif; font-size: 13px; color: rgb(80, 73, 69); "&gt;&lt;b&gt;Solution:&lt;/b&gt;&lt;/p&gt;&lt;p style="margin-top: 5px; margin-right: 5px; margin-bottom: 5px; margin-left: 5px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: Tahoma, Georgia, Arial, 'century gothic', verdana, sans-serif; font-size: 13px; color: rgb(80, 73, 69); "&gt;1.  The work around is to simply replace every instance of &lt;span&gt;&lt;b&gt;&amp;amp;&lt;/b&gt; &lt;/span&gt;in the link with &lt;code&gt;&lt;b&gt;&lt;span&gt;&amp;amp;amp&lt;/span&gt;;&lt;/b&gt;&lt;/code&gt;&lt;/p&gt;&lt;p style="margin-top: 5px; margin-right: 5px; margin-bottom: 5px; margin-left: 5px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 13px; color: rgb(80, 73, 69); "&gt;&lt;span class="Apple-style-span" style="font-family: Tahoma, Georgia, Arial, 'century gothic', verdana, sans-serif; "&gt;2.  The work around is to simply replace every instance of html breaks&lt;b&gt; &lt;/b&gt;with any symbol like semi colon &lt;code&gt;&lt;b&gt;&lt;span&gt;;&lt;/span&gt;&lt;/b&gt;&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 5px; margin-right: 5px; margin-bottom: 5px; margin-left: 5px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 13px; color: rgb(80, 73, 69); "&gt;&lt;span class="Apple-style-span" style="font-family: Tahoma, Georgia, Arial, 'century gothic', verdana, sans-serif; "&gt;&lt;code&gt;&lt;b&gt;&lt;span&gt;&lt;span class="Apple-style-span" style="color: rgb(80, 73, 69); font-family: Tahoma, Georgia, Arial, 'century gothic', verdana, sans-serif; font-weight: normal; "&gt;2.  The work around is to simply replace every instance of &lt;span&gt;&lt;b&gt;single quote&lt;/b&gt; &lt;/span&gt;with &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/code&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: monospace; "&gt;&lt;b&gt;&lt;span&gt;&amp;amp;quot&lt;/span&gt;;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4720603661280222183-1302343855823060685?l=aspfactor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfactor.blogspot.com/feeds/1302343855823060685/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4720603661280222183&amp;postID=1302343855823060685' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default/1302343855823060685'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default/1302343855823060685'/><link rel='alternate' type='text/html' href='http://aspfactor.blogspot.com/2011/02/semi-colon-character-was-expected-xml.html' title='A semi colon character was expected - XML Error'/><author><name>Sree</name><uri>http://www.blogger.com/profile/06403327332608212296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='http://4.bp.blogspot.com/-JpwkK6MUNu8/TxfBIqLMkwI/AAAAAAAAAM0/hqL5kgmnKkQ/s220/sf_cert_dev_rgb.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4720603661280222183.post-8613716579442748212</id><published>2011-02-11T02:39:00.000-08:00</published><updated>2011-02-11T02:41:18.965-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='reload parent window'/><category scheme='http://www.blogger.com/atom/ns#' term='refresh parent window'/><category scheme='http://www.blogger.com/atom/ns#' term='pop up window'/><category scheme='http://www.blogger.com/atom/ns#' term='child window'/><category scheme='http://www.blogger.com/atom/ns#' term='parent window'/><title type='text'>Refresh or Reload parent window from child window</title><content type='html'>To refresh the parent window from pop up window use below.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;window.opener.location.reload();&lt;/strong&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4720603661280222183-8613716579442748212?l=aspfactor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfactor.blogspot.com/feeds/8613716579442748212/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4720603661280222183&amp;postID=8613716579442748212' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default/8613716579442748212'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default/8613716579442748212'/><link rel='alternate' type='text/html' href='http://aspfactor.blogspot.com/2011/02/refresh-or-reload-parent-window-from.html' title='Refresh or Reload parent window from child window'/><author><name>Sree</name><uri>http://www.blogger.com/profile/06403327332608212296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='http://4.bp.blogspot.com/-JpwkK6MUNu8/TxfBIqLMkwI/AAAAAAAAAM0/hqL5kgmnKkQ/s220/sf_cert_dev_rgb.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4720603661280222183.post-267877533528549144</id><published>2011-02-04T00:04:00.000-08:00</published><updated>2011-02-04T00:15:56.926-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='window.opener'/><category scheme='http://www.blogger.com/atom/ns#' term='parent.opener'/><category scheme='http://www.blogger.com/atom/ns#' term='opener'/><title type='text'>Accessing parent window form elements</title><content type='html'>&lt;span class="pBody postableBody"&gt;Often we come across scenarios where we have to access the parent window form element. Below is the syntax for accessing the parent element.&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;br /&gt;Syntax:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;top.opener.document.forms[&lt;wbr&gt;0].element&lt;wbr&gt;s["hdnStatus"].value&lt;wbr&gt; = "true";&lt;br /&gt;&lt;br /&gt;This solution is cross browser compatible and works in all major browsers.&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4720603661280222183-267877533528549144?l=aspfactor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfactor.blogspot.com/feeds/267877533528549144/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4720603661280222183&amp;postID=267877533528549144' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default/267877533528549144'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default/267877533528549144'/><link rel='alternate' type='text/html' href='http://aspfactor.blogspot.com/2011/02/accessing-parent-window-form-elements.html' title='Accessing parent window form elements'/><author><name>Sree</name><uri>http://www.blogger.com/profile/06403327332608212296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='http://4.bp.blogspot.com/-JpwkK6MUNu8/TxfBIqLMkwI/AAAAAAAAAM0/hqL5kgmnKkQ/s220/sf_cert_dev_rgb.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4720603661280222183.post-7945782602941984706</id><published>2011-01-22T22:09:00.000-08:00</published><updated>2011-01-22T22:18:25.783-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='smtp settings'/><category scheme='http://www.blogger.com/atom/ns#' term='smtpserver'/><category scheme='http://www.blogger.com/atom/ns#' term='google apps email with godaddy hosting'/><title type='text'>google apps email with godaddy hosting</title><content type='html'>&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 17px; "&gt;If you would like to use your Google Apps Email Account in GoDaddy Hosting to send mail using ASP Form then do the following smtp settings:&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 17px; "&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 17px; "&gt;smtpserver: relay-hosting.secureserver.net&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 17px; "&gt;smtpserverpost: 25&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   &gt;&lt;span class="Apple-style-span" style="line-height: 17px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   &gt;&lt;span class="Apple-style-span" style="line-height: 17px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4720603661280222183-7945782602941984706?l=aspfactor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfactor.blogspot.com/feeds/7945782602941984706/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4720603661280222183&amp;postID=7945782602941984706' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default/7945782602941984706'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default/7945782602941984706'/><link rel='alternate' type='text/html' href='http://aspfactor.blogspot.com/2011/01/google-apps-email-with-godaddy-hosting.html' title='google apps email with godaddy hosting'/><author><name>Sree</name><uri>http://www.blogger.com/profile/06403327332608212296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='http://4.bp.blogspot.com/-JpwkK6MUNu8/TxfBIqLMkwI/AAAAAAAAAM0/hqL5kgmnKkQ/s220/sf_cert_dev_rgb.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4720603661280222183.post-5406965671263058434</id><published>2011-01-16T22:39:00.000-08:00</published><updated>2011-01-16T22:42:51.129-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript pop up window'/><category scheme='http://www.blogger.com/atom/ns#' term='pop up window'/><category scheme='http://www.blogger.com/atom/ns#' term='focus pop up window'/><category scheme='http://www.blogger.com/atom/ns#' term='window.open()'/><category scheme='http://www.blogger.com/atom/ns#' term='pop up window focus'/><title type='text'>Javascript pop up window focus</title><content type='html'>How to focus the pop up window if the same window needs to be refreshed multiple times based on the action?&lt;br /&gt;&lt;strong&gt;Give as below:&lt;/strong&gt;&lt;br /&gt;newwindow = window.open(url, "myWin", "width=600,height=400,toolbar=0,scrollbars=0");&lt;br /&gt;newwindow.focus();&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4720603661280222183-5406965671263058434?l=aspfactor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfactor.blogspot.com/feeds/5406965671263058434/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4720603661280222183&amp;postID=5406965671263058434' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default/5406965671263058434'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default/5406965671263058434'/><link rel='alternate' type='text/html' href='http://aspfactor.blogspot.com/2011/01/javascript-pop-up-window-focus.html' title='Javascript pop up window focus'/><author><name>Sree</name><uri>http://www.blogger.com/profile/06403327332608212296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='http://4.bp.blogspot.com/-JpwkK6MUNu8/TxfBIqLMkwI/AAAAAAAAAM0/hqL5kgmnKkQ/s220/sf_cert_dev_rgb.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4720603661280222183.post-8388880875223605019</id><published>2010-12-23T20:41:00.000-08:00</published><updated>2010-12-23T20:48:37.698-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET Cookies'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP Cookies'/><title type='text'>Cookie transition between classic ASP and ASP.NET</title><content type='html'>Guys, here is what i have came across recently.&lt;br /&gt;&lt;br /&gt;I have a classic asp application that has a login module. There is another sub folder that has dotnet pages (.aspx). Any user who logs in to the asp application should be automatically able to view the .net pages too. But the aspx page was not able to access the cookie created in asp page. After a reasearch for some time i found out the reason why it was hapening like that.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Here is the reason:&lt;/strong&gt;&lt;br /&gt;My cookie name in the application is "cki_user". Point to be observed is the underscore symbol in the name. In classic ASP, the cookie name will be url encoded and created. That means, the actual cookie name will be "cki%5Fuser". But in asp.net, there will no url encoding hence the name remains "cki_user" when requesting. Hence i was not able to access the value. Finally i had to access it using Request.Cookies["cki%5Fuser"] which worked well.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4720603661280222183-8388880875223605019?l=aspfactor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfactor.blogspot.com/feeds/8388880875223605019/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4720603661280222183&amp;postID=8388880875223605019' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default/8388880875223605019'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default/8388880875223605019'/><link rel='alternate' type='text/html' href='http://aspfactor.blogspot.com/2010/12/cookie-transition-between-classic-asp.html' title='Cookie transition between classic ASP and ASP.NET'/><author><name>Sree</name><uri>http://www.blogger.com/profile/06403327332608212296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='http://4.bp.blogspot.com/-JpwkK6MUNu8/TxfBIqLMkwI/AAAAAAAAAM0/hqL5kgmnKkQ/s220/sf_cert_dev_rgb.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4720603661280222183.post-2539339025630536245</id><published>2010-12-03T01:18:00.000-08:00</published><updated>2010-12-03T01:21:24.546-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tips to write an article'/><category scheme='http://www.blogger.com/atom/ns#' term='Article Writing'/><title type='text'>9 Tips to write an Article</title><content type='html'>1. Whenever you want to write an article, dont start right away thinking on what to write. Scribble down on a paper whenever a topic comes into your mind. You can chose from this list when you are ready to start writing an article.&lt;br /&gt;&lt;br /&gt;2. Most of the time, try to write an article in bullets or points...something like "10 ways to keep yourself fit".&lt;br /&gt;&lt;br /&gt;3. Begin the article with an introduction on the topic or problem. If possible add your experiences.&lt;br /&gt;&lt;br /&gt;4. Do not think too much on grammar while writing. Keep the grammar check job at the end.&lt;br /&gt;&lt;br /&gt;5. Try to keep the article short.&lt;br /&gt;&lt;br /&gt;6. Write the article in an informal way as if you are talking to your friend. That will make the reader feel easier to read.&lt;br /&gt;&lt;br /&gt;7. Do a proofread after you are finished. Check for grammatical mistakes or any spelling mistakes.&lt;br /&gt;&lt;br /&gt;8. Dont look at the article for one day. After a day, do a proofread again and check if you have put in everything that you wanted to.. in the article.&lt;br /&gt;&lt;br /&gt;9. Now publish your article! DONE!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4720603661280222183-2539339025630536245?l=aspfactor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfactor.blogspot.com/feeds/2539339025630536245/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4720603661280222183&amp;postID=2539339025630536245' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default/2539339025630536245'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default/2539339025630536245'/><link rel='alternate' type='text/html' href='http://aspfactor.blogspot.com/2010/12/9-tips-to-write-article.html' title='9 Tips to write an Article'/><author><name>Sree</name><uri>http://www.blogger.com/profile/06403327332608212296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='http://4.bp.blogspot.com/-JpwkK6MUNu8/TxfBIqLMkwI/AAAAAAAAAM0/hqL5kgmnKkQ/s220/sf_cert_dev_rgb.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4720603661280222183.post-1409018149528372433</id><published>2010-12-02T00:44:00.000-08:00</published><updated>2010-12-02T00:45:37.674-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET web pages'/><category scheme='http://www.blogger.com/atom/ns#' term='64 bit OS'/><category scheme='http://www.blogger.com/atom/ns#' term='64 bit windows'/><title type='text'>ASP.NET Pages not working on windows 64 bit server</title><content type='html'>ASP.NET Pages not working on server:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Solution:&lt;/span&gt; Change the default app pool Identity to NETWORK SERVICE and allow all permission for NETWORK SERVICE on the website.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Note:&lt;/span&gt; Any new website that is created need to be given Full Control to NETWORK SERVICE in IIS.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4720603661280222183-1409018149528372433?l=aspfactor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfactor.blogspot.com/feeds/1409018149528372433/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4720603661280222183&amp;postID=1409018149528372433' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default/1409018149528372433'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default/1409018149528372433'/><link rel='alternate' type='text/html' href='http://aspfactor.blogspot.com/2010/12/aspnet-pages-not-working-on-windows-64.html' title='ASP.NET Pages not working on windows 64 bit server'/><author><name>Sree</name><uri>http://www.blogger.com/profile/06403327332608212296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='http://4.bp.blogspot.com/-JpwkK6MUNu8/TxfBIqLMkwI/AAAAAAAAAM0/hqL5kgmnKkQ/s220/sf_cert_dev_rgb.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4720603661280222183.post-9222559857508112023</id><published>2009-11-03T23:38:00.000-08:00</published><updated>2009-11-04T01:32:56.865-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xml'/><category scheme='http://www.blogger.com/atom/ns#' term='cross browser'/><title type='text'>Code for reading xml in javascript - Cross Browser Compatible</title><content type='html'>&lt;object id="_ds_14769325" name="_ds_14769325" width="420" height="550" type="application/x-shockwave-flash" data="http://viewer.docstoc.com/"&gt;&lt;param name="FlashVars" value="doc_id=14769325&amp;mem_id=1153409&amp;doc_type=doc&amp;fullscreen=0&amp;showrelated=0&amp;showotherdocs=0" /&gt;&lt;param name="movie" value="http://viewer.docstoc.com/"/&gt;&lt;param name="allowScriptAccess" value="always" /&gt;&lt;param name="allowFullScreen" value="true" /&gt;&lt;/object&gt;&lt;br /&gt;&lt;font size="1"&gt;&lt;a href="http://docstoc.com/docs/14769325/Code-for-reading-xml-in-javascript---Cross-Browser-Compatible"&gt;Code for reading xml in javascript - Cross Browser Compatible&lt;/a&gt; - &lt;/font&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4720603661280222183-9222559857508112023?l=aspfactor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfactor.blogspot.com/feeds/9222559857508112023/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4720603661280222183&amp;postID=9222559857508112023' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default/9222559857508112023'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default/9222559857508112023'/><link rel='alternate' type='text/html' href='http://aspfactor.blogspot.com/2009/11/code-for-reading-xml-in-javascript.html' title='Code for reading xml in javascript - Cross Browser Compatible'/><author><name>Sree</name><uri>http://www.blogger.com/profile/06403327332608212296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='http://4.bp.blogspot.com/-JpwkK6MUNu8/TxfBIqLMkwI/AAAAAAAAAM0/hqL5kgmnKkQ/s220/sf_cert_dev_rgb.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4720603661280222183.post-5225688864141823974</id><published>2009-07-13T00:14:00.000-07:00</published><updated>2009-07-30T05:12:29.454-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='firefox'/><category scheme='http://www.blogger.com/atom/ns#' term='safari'/><category scheme='http://www.blogger.com/atom/ns#' term='cross browser'/><title type='text'>Tips for Cross Browser Compatibility</title><content type='html'>&lt;p&gt;1. All HTML controls in the page should have an ID attribute.&lt;br /&gt;&lt;span style="color:#990000;"&gt;Example:&lt;/span&gt; &lt;.... type="”text”" name="”txtname”" id="”txtname”"&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;2. Always use fixed width and height rather than percentages.&lt;br /&gt;&lt;span style="color:#990000;"&gt;Example:&lt;br /&gt;&lt;/span&gt;Fixed width: &lt;.... width="”600”"&gt;......&lt; /table&gt;&lt;br /&gt;Percentages: &lt;.... width="”70%”"&gt;......&lt; /table&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;3. All the elements in the page should be bound in a proper html layout.&lt;br /&gt;&lt;span style="color:#990000;"&gt;Example:&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;Correct:&lt;/strong&gt; &lt;..&gt;&lt;..&gt;&lt;..&gt;&lt;..&gt;&lt; id="”test”"&gt;&lt; /span&gt;&lt; /td&gt;&lt; /tr&gt;&lt; /table&gt;&lt; /body&gt;&lt;br /&gt;&lt;strong&gt;Wrong:&lt;/strong&gt; &lt;..&gt;&lt;..&gt;&lt;..&gt;&lt;..&gt;&lt; /td&gt;&lt; /tr&gt;&lt; /table&gt;&lt; id="”test”"&gt;&lt; /span&gt;&lt; /body&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;4. Modal windows does not work properly in firefox. Use normal pop up windows instead.&lt;br /&gt;&lt;span style="color:#990000;"&gt;Example:&lt;/span&gt;&lt;br /&gt;window.open(....) works well in all conditions. ShowModaldialog does not work properly.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;5. parent.dialogArguments does not work in firefox. Use parent.opener instead.&lt;br /&gt;&lt;span style="color:#990000;"&gt;Example:&lt;/span&gt;&lt;br /&gt;var strVals = parent.opener ? parent.opener : parent.dialogArguments;&lt;br /&gt;strVals.callfunction()&lt;br /&gt;&lt;/p&gt;&lt;p&gt;6. While accessing html elements in javascript,&lt;br /&gt;do not use document.forms[0].......Use document.getElementById(...)&lt;br /&gt;do not use document.all(....). Always use document.getElementById(...)&lt;br /&gt;&lt;/p&gt;&lt;p&gt;7. window.event does not work in firefox. Instead we should pass the event to the calling javascript function and access using event.target.&lt;br /&gt;&lt;span style="color:#990000;"&gt;Example:&lt;/span&gt;&lt;br /&gt;&lt; type="image" src="images/SFReset.gif" id="img2" name="img2" onclick="”ResetFields(event)”"&gt;&lt;br /&gt;function ResetFields(e)&lt;br /&gt;{&lt;br /&gt;if (window.event)&lt;br /&gt;var xButton = window.event.srcElement;&lt;br /&gt;else&lt;br /&gt;var xButton = e.target.name;&lt;br /&gt;}&lt;br /&gt;&lt;/p&gt;&lt;p&gt;8. Automatic reload of the page does not work in some situations. Use Ajax in such cases.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;9. SQL Reporting services reports frame width is height is shrinked in firefox.&lt;br /&gt;To increase the frame height and width,&lt;br /&gt;Go to Program Files → Microsoft SQL Server → MSSQL3 (Differs for different versions of sql server. Purpose is to locate Reporting Services folder) → Reporting Services → Report Server → Pages&lt;br /&gt;Open ReportViewer.aspx&lt;br /&gt;Add width and height attributes to the custom report viewer control.&lt;br /&gt;&lt;span style="color:#990000;"&gt;Example:&lt;/span&gt; RS:ReportViewerHost width="1000px" height="860px" id="ReportViewerControl" runat="server"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;10. semicolon in “nbsp;” is a must.&lt;/p&gt;&lt;p&gt;11. In javascript, use "getFullYear" whereever you use "getYear".&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4720603661280222183-5225688864141823974?l=aspfactor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfactor.blogspot.com/feeds/5225688864141823974/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4720603661280222183&amp;postID=5225688864141823974' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default/5225688864141823974'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default/5225688864141823974'/><link rel='alternate' type='text/html' href='http://aspfactor.blogspot.com/2009/07/tips-for-cross-browser-compatibility.html' title='Tips for Cross Browser Compatibility'/><author><name>Sree</name><uri>http://www.blogger.com/profile/06403327332608212296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='http://4.bp.blogspot.com/-JpwkK6MUNu8/TxfBIqLMkwI/AAAAAAAAAM0/hqL5kgmnKkQ/s220/sf_cert_dev_rgb.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4720603661280222183.post-3276480913591282060</id><published>2008-12-02T04:13:00.000-08:00</published><updated>2008-12-02T04:18:39.621-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='onkeypress'/><category scheme='http://www.blogger.com/atom/ns#' term='delete'/><category scheme='http://www.blogger.com/atom/ns#' term='backspace'/><title type='text'>onkeypress not fired for Backspace and Delete</title><content type='html'>Hi Guys,&lt;br /&gt;Here is a new thing that i have come across and wanted to share.&lt;br /&gt;&lt;strong&gt;Scenario:&lt;/strong&gt;&lt;br /&gt;I was just experimenting to show the character count dynamically when a user types text in textarea. I have called a javascript function in onkeypress event of the textarea to calculate the count and put that in a html div element using innerHTML.&lt;br /&gt;&lt;strong&gt;Observation:&lt;/strong&gt;&lt;br /&gt;onkeypress event does not fire for Back space and Delete keys in the keyboard.&lt;br /&gt;&lt;strong&gt;Solution:&lt;/strong&gt;&lt;br /&gt;Use both onkeypress and onkeyup events and call the same function.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4720603661280222183-3276480913591282060?l=aspfactor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfactor.blogspot.com/feeds/3276480913591282060/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4720603661280222183&amp;postID=3276480913591282060' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default/3276480913591282060'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default/3276480913591282060'/><link rel='alternate' type='text/html' href='http://aspfactor.blogspot.com/2008/12/onkeypress-not-fired-for-backspace-and.html' title='onkeypress not fired for Backspace and Delete'/><author><name>Sree</name><uri>http://www.blogger.com/profile/06403327332608212296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='http://4.bp.blogspot.com/-JpwkK6MUNu8/TxfBIqLMkwI/AAAAAAAAAM0/hqL5kgmnKkQ/s220/sf_cert_dev_rgb.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4720603661280222183.post-8057333414947732396</id><published>2008-10-04T03:12:00.000-07:00</published><updated>2008-10-04T03:20:02.724-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='kiosk'/><category scheme='http://www.blogger.com/atom/ns#' term='full screen'/><category scheme='http://www.blogger.com/atom/ns#' term='window.open'/><title type='text'>Open a url in Kiosk/Full Screen mode</title><content type='html'>&lt;span style="font-family:verdana;"&gt;When you run Internet Explorer in full screen mode, the Internet Explorer title bar, menus, toolbars, and status bar are not displayed and Internet Explorer runs in Full Screen mode. The Windows taskbar is not displayed, but you can switch to other running programs by pressing ALT+TAB or CTRL+ALT+DEL. This mode is known as Kiosk mode.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;We can implement this by making configuration changes in window.open method of javascript.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;Here is the sample logic:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;window.open("sample.html","newwindow","fullscreen")&lt;/strong&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4720603661280222183-8057333414947732396?l=aspfactor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfactor.blogspot.com/feeds/8057333414947732396/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4720603661280222183&amp;postID=8057333414947732396' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default/8057333414947732396'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default/8057333414947732396'/><link rel='alternate' type='text/html' href='http://aspfactor.blogspot.com/2008/10/open-url-in-kioskfull-screen-mode.html' title='Open a url in Kiosk/Full Screen mode'/><author><name>Sree</name><uri>http://www.blogger.com/profile/06403327332608212296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='http://4.bp.blogspot.com/-JpwkK6MUNu8/TxfBIqLMkwI/AAAAAAAAAM0/hqL5kgmnKkQ/s220/sf_cert_dev_rgb.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4720603661280222183.post-5798600390336607396</id><published>2008-09-15T02:02:00.000-07:00</published><updated>2008-09-15T02:15:36.341-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='server variable'/><category scheme='http://www.blogger.com/atom/ns#' term='browser'/><title type='text'>Browser detection in ASP</title><content type='html'>&lt;span style="font-family:verdana;"&gt;By using Request.ServerVariables("HTTP_USER_AGENT"), we can write a logic to implement this.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;Request.ServerVariables("HTTP_USER_AGENT") will result in the following:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;For IE:&lt;/strong&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family:verdana;"&gt;For Firefox:&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1 &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;Based on above, we can write below logic.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;varBrowser= Request.ServerVariables("HTTP_USER_AGENT")&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;If InStr(varBrowser, "MSIE") &gt; 0 Then &lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;BrowserType = "IE"&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;Elseif InStr(varBrowser, "Firefox") &gt; 0 Then &lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;BrowserType = "FireFox"&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;End if&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family:Verdana;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4720603661280222183-5798600390336607396?l=aspfactor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfactor.blogspot.com/feeds/5798600390336607396/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4720603661280222183&amp;postID=5798600390336607396' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default/5798600390336607396'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default/5798600390336607396'/><link rel='alternate' type='text/html' href='http://aspfactor.blogspot.com/2008/09/browser-detection-in-asp.html' title='Browser detection in ASP'/><author><name>Sree</name><uri>http://www.blogger.com/profile/06403327332608212296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='http://4.bp.blogspot.com/-JpwkK6MUNu8/TxfBIqLMkwI/AAAAAAAAAM0/hqL5kgmnKkQ/s220/sf_cert_dev_rgb.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4720603661280222183.post-8457083209069149464</id><published>2008-09-13T00:15:00.000-07:00</published><updated>2008-09-13T00:17:23.213-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ado'/><category scheme='http://www.blogger.com/atom/ns#' term='recordset'/><category scheme='http://www.blogger.com/atom/ns#' term='getstring'/><title type='text'>Recordset GetString() method</title><content type='html'>The GetString method returns the specified Recordset as a string.&lt;br /&gt;This method can be used to fill HTML tables in ASP files.&lt;br /&gt;&lt;br /&gt;You can find the details of the method in the below link:&lt;br /&gt;&lt;a href="http://www.w3schools.com/ADO/met_rs_getstring.asp"&gt;http://www.w3schools.com/ADO/met_rs_getstring.asp&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4720603661280222183-8457083209069149464?l=aspfactor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfactor.blogspot.com/feeds/8457083209069149464/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4720603661280222183&amp;postID=8457083209069149464' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default/8457083209069149464'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default/8457083209069149464'/><link rel='alternate' type='text/html' href='http://aspfactor.blogspot.com/2008/09/ado-getstring-method.html' title='Recordset GetString() method'/><author><name>Sree</name><uri>http://www.blogger.com/profile/06403327332608212296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='http://4.bp.blogspot.com/-JpwkK6MUNu8/TxfBIqLMkwI/AAAAAAAAAM0/hqL5kgmnKkQ/s220/sf_cert_dev_rgb.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4720603661280222183.post-1252827602159115115</id><published>2008-06-14T00:05:00.000-07:00</published><updated>2008-06-20T22:11:58.403-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='div'/><category scheme='http://www.blogger.com/atom/ns#' term='getelementbyid'/><category scheme='http://www.blogger.com/atom/ns#' term='innerhtml'/><title type='text'>Generate HTML dynamically in javascript</title><content type='html'>Place a div tag in then body of the html where you the dynamic html to be displayed&lt;br /&gt;&lt;textarea cols="50" readonly&gt;&lt;div id='dynhtml'&gt;&lt;/div&gt;&lt;/textarea&gt;&lt;br /&gt;&lt;br /&gt;Suppose you want a textbox control to be added each time in an on click event of a hyper link,&lt;br /&gt;&lt;textarea rows="5" cols="50" readonly&gt;&lt;a href="javascript:onclick=AddDynHTML()"&gt;Add Control&lt;/a&gt;&lt;/textarea&gt;&lt;br /&gt;&lt;br /&gt;Onclick javascript function:&lt;br /&gt;&lt;textarea rows="12" cols="50" readonly&gt;Function AddDynHTML(){var newhtml="";//Create an html div element using createElement method var newdiv = document.createElement('div');//Put the new html content in a variable var newhtml = "&lt;input type="'text'" name="'name'"&gt;"//Put the new html in the newly created div element using innerHTML method document.getElementById('dynhtml').innerHTML = newhtml;//Append the local div element to the div element in the body of the html page. dyn.appendChild(newdiv);}&lt;/textarea&gt;&lt;br /&gt;You can use this logic according to your requirements.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4720603661280222183-1252827602159115115?l=aspfactor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfactor.blogspot.com/feeds/1252827602159115115/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4720603661280222183&amp;postID=1252827602159115115' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default/1252827602159115115'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default/1252827602159115115'/><link rel='alternate' type='text/html' href='http://aspfactor.blogspot.com/2008/06/place-div-tag-in-then-body-of-html.html' title='Generate HTML dynamically in javascript'/><author><name>Sree</name><uri>http://www.blogger.com/profile/06403327332608212296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='http://4.bp.blogspot.com/-JpwkK6MUNu8/TxfBIqLMkwI/AAAAAAAAAM0/hqL5kgmnKkQ/s220/sf_cert_dev_rgb.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4720603661280222183.post-2784008031642903956</id><published>2008-06-13T23:23:00.000-07:00</published><updated>2008-08-07T05:52:40.589-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='check and uncheck'/><category scheme='http://www.blogger.com/atom/ns#' term='radio button'/><title type='text'>To check and uncheck a radio button</title><content type='html'>&lt;span style="font-family:verdana;"&gt;Code to check and uncheck a radio button,&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Logic 1:&lt;/strong&gt;&lt;br /&gt;Add below code to the control&lt;br /&gt;onclick='this.chk = this.chk ? this.checked = !this.chk : this.checked'&lt;br /&gt;OR&lt;br /&gt;&lt;/span&gt;&lt;textarea rows="5" cols="40" readonly&gt;&lt;input type="radio" name="name" value="value" onmousedown="this.chk = this.checked" onclick="if (this.chk) this.checked = false"&gt;&lt;/textarea&gt;&lt;span style="font-family:verdana;"&gt;&lt;br /&gt;Explanation:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;"&gt;A property by name "chk" is created to "this" object and is assigned the value of standard "checked". It stores the current state of the radio button. Based on this we check and uncheck the radio button. (You can use any name in place of "chk")&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;br /&gt;&lt;strong&gt;Logic 2:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;textarea rows="8" cols="40" readonly&gt;var lastselected=null;function ToggleRadioButton(rbutton) { if(lastselected != rbutton) { rbutton.checked = true; lastselected = rbutton; } else { rbutton.checked = false;lastselected = null;} }&lt;/textarea&gt;&lt;span style="font-family:verdana;"&gt;&lt;br /&gt;Explanation:&lt;br /&gt;Declare a global variable and set it to null initially. Call this function in the radio button control onclick event and pass "this" as parameter. When radio button is checked for first time, the if condition is true and hence it is checked. The global variable's value is now changed. Now when you check the radio button, if condition is false and hence else part is executed where radio button checked property is set to false. Here, global variable's value is again changed. This way, the radio button gets checked and unchecked alternatively. &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4720603661280222183-2784008031642903956?l=aspfactor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfactor.blogspot.com/feeds/2784008031642903956/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4720603661280222183&amp;postID=2784008031642903956' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default/2784008031642903956'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default/2784008031642903956'/><link rel='alternate' type='text/html' href='http://aspfactor.blogspot.com/2008/06/to-check-and-uncheck-radio-button.html' title='To check and uncheck a radio button'/><author><name>Sree</name><uri>http://www.blogger.com/profile/06403327332608212296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='http://4.bp.blogspot.com/-JpwkK6MUNu8/TxfBIqLMkwI/AAAAAAAAAM0/hqL5kgmnKkQ/s220/sf_cert_dev_rgb.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4720603661280222183.post-6082188257101341421</id><published>2008-05-27T00:26:00.000-07:00</published><updated>2008-05-27T02:49:55.804-07:00</updated><title type='text'>Paging in ASP</title><content type='html'>&lt;span style="color:#cc0000;"&gt;//Execute the query and open the recordset&lt;/span&gt;&lt;br /&gt;Rs.Open sql,Conn,3,1 &lt;span style="color:#cc0000;"&gt;//here 3 is cursor type and 1 is lock type. cursor type is static and lock type is readonly&lt;br /&gt;&lt;/span&gt;If not(Rs.eof and Rs.bof) then&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;//initialize paging requirements&lt;br /&gt;&lt;/span&gt;Pagesize = 5 &lt;span style="color:#cc0000;"&gt;//set page size to a variable&lt;/span&gt;&lt;br /&gt;Page = request(“page”) &lt;span style="color:#cc0000;"&gt;//get the current page no into a variable&lt;/span&gt;&lt;br /&gt;If Page = “” then Page = 1 &lt;span style="color:#cc0000;"&gt;//if this variable is null that means it is first page&lt;/span&gt;&lt;br /&gt;Recordcount = Rs.recordcount &lt;span style="color:#cc0000;"&gt;//get no. of records in Rs&lt;br /&gt;&lt;/span&gt;Rs.pagesize = Pagesize &lt;span style="color:#cc0000;"&gt;//assign page size to Rs&lt;/span&gt;&lt;br /&gt;Rs.absolutepage = Page &lt;span style="color:#cc0000;"&gt;//current page no. assigned to Rs&lt;/span&gt;&lt;br /&gt;TotalPages = Rs.Pagecount &lt;span style="color:#cc0000;"&gt;//get count of total no. of pages&lt;br /&gt;&lt;/span&gt;Prev = Page – 1 &lt;span style="color:#cc0000;"&gt;//Previous page no. set here&lt;br /&gt;&lt;/span&gt;Next = Page + 1 &lt;span style="color:#cc0000;"&gt;//Next page no. set here&lt;br /&gt;&lt;/span&gt;Count = 1 &lt;span style="color:#cc0000;"&gt;//initialize count variable to 1&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;//open the while loop of the result set&lt;/span&gt;&lt;br /&gt;While not Rs.eof and Count &lt;= Pagesize &lt;span style="color:#cc0000;"&gt;//Here, looping is restricted to the page size that we have set&lt;/span&gt;&lt;br /&gt;………………………..&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;//increment count variable&lt;br /&gt;&lt;/span&gt;Count = Count + 1&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;//close loopWend&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;//At the bottom of the page, provide links for paging&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_YHWJ_AsQquw/SDu4NGpgaCI/AAAAAAAAAFA/VKIkON3Rj_0/s1600-h/pag.PNG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5204956329619253282" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://2.bp.blogspot.com/_YHWJ_AsQquw/SDu4NGpgaCI/AAAAAAAAAFA/VKIkON3Rj_0/s400/pag.PNG" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4720603661280222183-6082188257101341421?l=aspfactor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfactor.blogspot.com/feeds/6082188257101341421/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4720603661280222183&amp;postID=6082188257101341421' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default/6082188257101341421'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default/6082188257101341421'/><link rel='alternate' type='text/html' href='http://aspfactor.blogspot.com/2008/05/paging-in-asp.html' title='Paging in ASP'/><author><name>Sree</name><uri>http://www.blogger.com/profile/06403327332608212296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='http://4.bp.blogspot.com/-JpwkK6MUNu8/TxfBIqLMkwI/AAAAAAAAAM0/hqL5kgmnKkQ/s220/sf_cert_dev_rgb.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_YHWJ_AsQquw/SDu4NGpgaCI/AAAAAAAAAFA/VKIkON3Rj_0/s72-c/pag.PNG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4720603661280222183.post-532262405067165762</id><published>2008-05-27T00:15:00.000-07:00</published><updated>2008-05-27T00:24:53.905-07:00</updated><title type='text'>Print a page</title><content type='html'>&lt;span style="font-family:verdana;"&gt;&lt;span style="color:#cc0000;"&gt;//Give the link in the html page to print &lt;/span&gt;&lt;/span&gt;&lt;img id="BLOGGER_PHOTO_ID_5204955178568017938" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://2.bp.blogspot.com/_YHWJ_AsQquw/SDu3KGpgaBI/AAAAAAAAAE4/n1sjhQSGskU/s400/pr2.PNG" border="0" /&gt; &lt;div&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="color:#cc0000;"&gt;//On clicking, the entire page is printed&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;How to eliminate the unnecessary things from printing?&lt;br /&gt;&lt;/strong&gt;// Declare the style in a style sheet&lt;br /&gt;.noprint&lt;br /&gt;{&lt;br /&gt;DISPLAY: none&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;//include the external style sheet in the page&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;/span&gt;&lt;img id="BLOGGER_PHOTO_ID_5204954164955736050" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://2.bp.blogspot.com/_YHWJ_AsQquw/SDu2PGpgZ_I/AAAAAAAAAEo/FGmCcPww_5I/s400/pr2.PNG" border="0" /&gt;&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;//Put the div tags with class=”noprint” in the page wherever required &lt;/span&gt;&lt;img id="BLOGGER_PHOTO_ID_5204954169250703362" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://3.bp.blogspot.com/_YHWJ_AsQquw/SDu2PWpgaAI/AAAAAAAAAEw/iVw151Mnzck/s400/pr3.PNG" border="0" /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4720603661280222183-532262405067165762?l=aspfactor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfactor.blogspot.com/feeds/532262405067165762/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4720603661280222183&amp;postID=532262405067165762' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default/532262405067165762'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default/532262405067165762'/><link rel='alternate' type='text/html' href='http://aspfactor.blogspot.com/2008/05/print-page.html' title='Print a page'/><author><name>Sree</name><uri>http://www.blogger.com/profile/06403327332608212296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='http://4.bp.blogspot.com/-JpwkK6MUNu8/TxfBIqLMkwI/AAAAAAAAAM0/hqL5kgmnKkQ/s220/sf_cert_dev_rgb.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_YHWJ_AsQquw/SDu3KGpgaBI/AAAAAAAAAE4/n1sjhQSGskU/s72-c/pr2.PNG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4720603661280222183.post-4727593349409810666</id><published>2008-05-27T00:08:00.000-07:00</published><updated>2008-05-27T00:14:44.837-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mail'/><category scheme='http://www.blogger.com/atom/ns#' term='send'/><title type='text'>Send Mail</title><content type='html'>&lt;strong&gt;&lt;span style="font-family:verdana;"&gt;Send mail using Persits component&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="color:#cc0000;"&gt;//Declare mail object&lt;/span&gt;&lt;br /&gt;Set objPersits = Server.CreateObject("Persits.MailSender")&lt;br /&gt;&lt;br /&gt;With objPersits&lt;br /&gt;               .From     = "sree@yahoo.com" //From Email Id       &lt;br /&gt;               .FromName = "Sree" //Name of the Sender&lt;br /&gt;               .Host = "mail.domain.com" //Mail Host&lt;br /&gt;               .Subject  = "Invitation"&lt;br /&gt;               .AddAddress mailTo,mailName&lt;br /&gt;               .Body = mailbody&lt;br /&gt;               .isHTML = True  &lt;span style="color:#cc0000;"&gt;//If html content exists in the mail body&lt;br /&gt;&lt;/span&gt;               on error resume next&lt;br /&gt;               .Send       &lt;span style="color:#cc0000;"&gt;//To send mail finally&lt;/span&gt;&lt;br /&gt;               if err.number &lt;&gt; 0 then&lt;br /&gt;response.write "Error " &amp;amp; err.number &amp;amp; " sending to " &amp;amp; mailTo &amp;amp; " (" &amp;amp; mailName &amp;amp; ")"&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;//To know the description of the error, we give&lt;br /&gt;&lt;/span&gt;response.write err.description&lt;br /&gt;                                err.clear&lt;br /&gt;               else&lt;br /&gt;                               &lt;span style="color:#cc0000;"&gt;//Mail has been sent&lt;br /&gt;&lt;/span&gt;               end if&lt;br /&gt;               .RemoveAddress mailTo, mailName&lt;br /&gt;End With&lt;br /&gt;&lt;br /&gt;set objPersits = nothing&lt;br /&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;br /&gt;&lt;strong&gt;How to send an external html file through mail?&lt;/strong&gt;&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;//Declare file system object to read from the file&lt;/span&gt;&lt;br /&gt;set fso = Server.CreateObject("Scripting.FileSystemObject")&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;//Specify File location&lt;br /&gt;&lt;/span&gt;fname = "/AffiliateEmails/affmail.htm"&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;//Open a file using above object and set it to a new object&lt;/span&gt;&lt;br /&gt;set fObj = fso.openTextFile(server.mappath(fname))&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;//Read from the file and assign to a variable which is further assigned to the .Body of the mail&lt;/span&gt;&lt;br /&gt;mailBody = fObj.readAll&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;//Close the connection to the file&lt;/span&gt;&lt;br /&gt;fObj.close&lt;br /&gt;&lt;br /&gt;set fso = nothing&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4720603661280222183-4727593349409810666?l=aspfactor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfactor.blogspot.com/feeds/4727593349409810666/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4720603661280222183&amp;postID=4727593349409810666' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default/4727593349409810666'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default/4727593349409810666'/><link rel='alternate' type='text/html' href='http://aspfactor.blogspot.com/2008/05/send-mail.html' title='Send Mail'/><author><name>Sree</name><uri>http://www.blogger.com/profile/06403327332608212296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='http://4.bp.blogspot.com/-JpwkK6MUNu8/TxfBIqLMkwI/AAAAAAAAAM0/hqL5kgmnKkQ/s220/sf_cert_dev_rgb.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4720603661280222183.post-9004136896988808614</id><published>2008-05-27T00:00:00.000-07:00</published><updated>2008-05-27T00:08:05.157-07:00</updated><title type='text'>Export to Excel</title><content type='html'>&lt;span style="font-family:verdana;"&gt;&lt;span style="color:#cc0000;"&gt;// Mention below two lines in the asp page say "excel.asp"&lt;br /&gt;&lt;/span&gt;Response.ContentType = "application/vnd.ms-excel"&lt;br /&gt;Response.AddHeader "Content-Disposition", "attachment; filename=sheet1.xls"&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;color:#000000;"&gt;Now write the code for the data that should be displayed in the excel file in the excel.asp page&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;color:#000000;"&gt;................&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;"&gt;In another page say export.asp give a link "Export to excel"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;"&gt;The href for the link should be given as excel.asp&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;"&gt;When you click this link it will prompt you to open or save the excel file&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4720603661280222183-9004136896988808614?l=aspfactor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfactor.blogspot.com/feeds/9004136896988808614/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4720603661280222183&amp;postID=9004136896988808614' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default/9004136896988808614'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default/9004136896988808614'/><link rel='alternate' type='text/html' href='http://aspfactor.blogspot.com/2008/05/export-to-excel.html' title='Export to Excel'/><author><name>Sree</name><uri>http://www.blogger.com/profile/06403327332608212296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='http://4.bp.blogspot.com/-JpwkK6MUNu8/TxfBIqLMkwI/AAAAAAAAAM0/hqL5kgmnKkQ/s220/sf_cert_dev_rgb.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4720603661280222183.post-2420198806932847308</id><published>2008-05-26T23:32:00.000-07:00</published><updated>2008-05-26T23:59:58.968-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='upload'/><title type='text'>Upload Files</title><content type='html'>&lt;span style="font-family:verdana;"&gt;&lt;span style="color:#cc0000;"&gt;//Form tag in upload page&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;form name="Ifrm" action="" method="post" enctype="multipart/form-data"&gt;&lt;span style="font-family:verdana;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5204944192041674642" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://4.bp.blogspot.com/_YHWJ_AsQquw/SDutKmpgZ5I/AAAAAAAAAD4/VNbVUF_BbLA/s400/up1.PNG" border="0" /&gt;&lt;br /&gt;&lt;strong&gt;Enctype&lt;/strong&gt;&lt;br /&gt;The mime type to be used for encoding the form data.&lt;br /&gt;Some examples are:&lt;br /&gt;enctype="text/plain" data is sent as plain text&lt;br /&gt;enctype="multipart/form-data" used when files are uploaded&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;//To browse a file, give Type=”FILE”&lt;/span&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;img id="BLOGGER_PHOTO_ID_5204944196336641954" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://1.bp.blogspot.com/_YHWJ_AsQquw/SDutK2pgZ6I/AAAAAAAAAEA/v4UU3tvBRh0/s400/up2.PNG" border="0" /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/form&gt;&lt;form name="Ifrm" action="" method="post" enctype="multipart/form-data"&gt;&lt;/form&gt;&lt;p&gt;&lt;span style="font-family:verdana;"&gt;&lt;/span&gt; &lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;Sample Code:&lt;/strong&gt;&lt;br /&gt;Upload code differs for different components used. I am giviing below the code for "Persits" component which i have used.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="color:#cc0000;"&gt;//Create Upload object&lt;br /&gt;&lt;/span&gt;Set Upload=Server.CreateObject("Persits.Upload.1")&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;//If a file already exists with same name then we can give option whether to upload or not to upload.&lt;/span&gt;&lt;br /&gt;Upload.OverwriteFiles = False/True&lt;br /&gt;Eg:&lt;br /&gt;True:&lt;br /&gt;If swetha.jpg already exists then also the file is uploaded as swetha[1].jpg&lt;br /&gt;False:&lt;br /&gt;If same name already exists then we cannot upload.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="color:#cc0000;"&gt;//If there is any error in uploading and we still want to move ahead then we give this. If we want to see the error then we should remove this statement.&lt;br /&gt;&lt;/span&gt;On Error Resume Next&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;//Set File Limit to upload&lt;/span&gt;&lt;br /&gt;Upload.SetMaxSize 5242880&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;//We can also add code for creating the folder if the specified does not exist&lt;/span&gt;&lt;br /&gt;Set fso=Server.CreateObject("Scripting.FileSystemObject")&lt;br /&gt;if fso.FolderExists(server.mappath("./CoachImages"))=false then&lt;br /&gt;Set fobj=fso.CreateFolder(server.mappath("./CoachImages"))&lt;br /&gt;end if&lt;br /&gt;Set fobj=nothing&lt;br /&gt;Set fso=nothing&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="color:#cc0000;"&gt;//To get the count of the uploaded files&lt;br /&gt;&lt;/span&gt;Count = Upload.Save(server.mappath("./"&amp;amp;folder))&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="color:#cc0000;"&gt;//To know if a file a uploaded or not. If not Show Error Message&lt;br /&gt;&lt;/span&gt;if Count = 0 then&lt;br /&gt;Error&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;// In Else part, we increment a loop for the uploaded Files&lt;/span&gt;&lt;br /&gt;For Each File in Upload.Files &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="color:#cc0000;"&gt;//Here we check the type of file. Suppose it is an image, then&lt;/span&gt;&lt;br /&gt;If ucase(File.ImageType) = "GIF" or ucase(File.ImageType) = "JPG" …….then&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="color:#cc0000;"&gt;//To get File Name&lt;br /&gt;&lt;/span&gt;File.FileName&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="color:#cc0000;"&gt;//To get Image Width&lt;br /&gt;&lt;/span&gt;File.ImageWidth&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="color:#cc0000;"&gt;//To get Image Height&lt;br /&gt;&lt;/span&gt;File.ImageHeight&lt;br /&gt;Else &lt;span style="color:#cc0000;"&gt;//If file type does not match then we can delete the file &lt;/span&gt;&lt;br /&gt;File.Delete&lt;br /&gt;End If&lt;br /&gt;&lt;br /&gt;Next&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;//To delete an old uploaded file&lt;/span&gt;&lt;br /&gt;Set fs=Server.CreateObject("Scripting.FileSystemObject")&lt;br /&gt;if fs.FileExists(Server.MapPath("./BoardImages/"&amp;amp;IRs("photoname"))) then&lt;br /&gt;fs.DeleteFile(Server.MapPath("./BoardImages/"&amp;amp;IRs("photoname")))&lt;br /&gt;end if&lt;br /&gt;set fs=nothing&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="color:#cc0000;"&gt;After clicking SUBMIT, in Javascript&lt;br /&gt;&lt;/span&gt;function SendBoardValues()&lt;br /&gt;{&lt;br /&gt;window.close();&lt;br /&gt;window.opener.evntfrm.submit();&lt;br /&gt;}&lt;br /&gt;Here, opener is used to get the values in the current window to the main page in the browser.&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4720603661280222183-2420198806932847308?l=aspfactor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfactor.blogspot.com/feeds/2420198806932847308/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4720603661280222183&amp;postID=2420198806932847308' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default/2420198806932847308'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default/2420198806932847308'/><link rel='alternate' type='text/html' href='http://aspfactor.blogspot.com/2008/05/upload-files.html' title='Upload Files'/><author><name>Sree</name><uri>http://www.blogger.com/profile/06403327332608212296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='http://4.bp.blogspot.com/-JpwkK6MUNu8/TxfBIqLMkwI/AAAAAAAAAM0/hqL5kgmnKkQ/s220/sf_cert_dev_rgb.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_YHWJ_AsQquw/SDutKmpgZ5I/AAAAAAAAAD4/VNbVUF_BbLA/s72-c/up1.PNG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4720603661280222183.post-7724120248298246453</id><published>2008-05-26T23:30:00.000-07:00</published><updated>2008-05-26T23:31:44.987-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='virtual directory'/><title type='text'>Virtual Directory</title><content type='html'>Allows you to create multiple website under one ip address. Allows you reference another location (folder) to include additional functionality.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;To create one&lt;/strong&gt;&lt;br /&gt;1) Open IIS Manager (Ctrl Panel-&gt;Admin Tools-&gt;Internet Service Manager)&lt;br /&gt;2) Right click the default site and “New”&gt;”Virtual Directory”.&lt;br /&gt;3) Type the name of the virtual directory and then browse to the location you would like to reference.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4720603661280222183-7724120248298246453?l=aspfactor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfactor.blogspot.com/feeds/7724120248298246453/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4720603661280222183&amp;postID=7724120248298246453' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default/7724120248298246453'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default/7724120248298246453'/><link rel='alternate' type='text/html' href='http://aspfactor.blogspot.com/2008/05/virtual-directory.html' title='Virtual Directory'/><author><name>Sree</name><uri>http://www.blogger.com/profile/06403327332608212296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='http://4.bp.blogspot.com/-JpwkK6MUNu8/TxfBIqLMkwI/AAAAAAAAAM0/hqL5kgmnKkQ/s220/sf_cert_dev_rgb.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4720603661280222183.post-3713966782855900059</id><published>2008-05-26T23:14:00.000-07:00</published><updated>2008-05-26T23:27:41.437-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='components'/><title type='text'>ASP Components</title><content type='html'>&lt;strong&gt;&lt;span style="font-family:verdana;"&gt;Different ASP Components are:&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;AdRotator&lt;br /&gt;Content Rotator&lt;br /&gt;Content Linking&lt;br /&gt;Browser Capabilities&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;1. ADROTATOR:&lt;/strong&gt;&lt;br /&gt;The ASP AdRotator component creates an AdRotator object that displays a different image each time a user enters or refreshes a page.&lt;br /&gt;&lt;strong&gt;Syntax:&lt;/strong&gt;&lt;br /&gt;set adrotator=server.createobject("MSWC.AdRotator")&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;adrotator.GetAdvertisement("textfile.txt")&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;Methods:&lt;/strong&gt;&lt;br /&gt;               1. GetAdvertisement&lt;br /&gt;&lt;strong&gt;Properties:&lt;br /&gt;&lt;/strong&gt;               1. Border&lt;br /&gt;               2. Clickable&lt;br /&gt;               3. TargetFrame&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;2. CONTENT ROTATOR:&lt;/strong&gt;&lt;br /&gt;The ASP Content Rotator component creates a ContentRotator object that displays a different HTML content string each time a user enters or refreshes a page.&lt;br /&gt;&lt;strong&gt;Syntax:&lt;/strong&gt;&lt;br /&gt;Set cr=Server.CreateObject( "MSWC.ContentRotator" )&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;Methods:&lt;br /&gt;&lt;/strong&gt;               1. ChooseContent&lt;br /&gt;               2. GetAllContent&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;"&gt;&lt;strong&gt;3. CONTENT LINKING:&lt;br /&gt;&lt;/strong&gt;The ASP Content Linking component is used to create a quick and easy navigation system!&lt;br /&gt;The Content Linking component returns a Nextlink object that is used to hold a list of Web pages to be navigated.&lt;br /&gt;&lt;strong&gt;Syntax:&lt;/strong&gt;&lt;br /&gt;Set nl=Server.CreateObject( "MSWC.NextLink" )&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;Methods:&lt;br /&gt;               1. GetListCount&lt;br /&gt;               2. GetListIndex&lt;br /&gt;               3. GetNextDescription&lt;/span&gt;&lt;br /&gt;           &lt;span style="font-family:verdana;"&gt;        4. GetNextURL&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;               5. GetNthDescription&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;               6. GetNthURL&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;               7. GetPreviousDescription&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;               8. GetPreviousURL  &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;"&gt;&lt;strong&gt;4. BROWSER CAPABILITIES:&lt;/strong&gt;&lt;br /&gt;The ASP Browser Capabilities component creates a BrowserType object that determines the type, capabilities and version number of each browser that visits your site.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;"&gt;When a browser connects to a server, an HTTP User Agent Header is also sent to the server. This header contains information about the browser (like browser type and version number). The BrowserType object then compares the information in the header with information in a file on the server called "Browscap.ini".&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;"&gt;If there is a match between the browser type and version number sent in the header and the information in the "Browsercap.ini" file, you can use the BrowserType object to list the properties of the matching browser. If there is no match for the browser type and version number in the Browscap.ini file, it will set every property to "UNKNOWN".&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;"&gt;The "Browsercap.ini" file is used to declare properties and to set default values for browsers.&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;"&gt;&lt;strong&gt;Syntax:&lt;/strong&gt;&lt;br /&gt;Set MyBrow=Server.CreateObject("MSWC.BrowserType") &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4720603661280222183-3713966782855900059?l=aspfactor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfactor.blogspot.com/feeds/3713966782855900059/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4720603661280222183&amp;postID=3713966782855900059' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default/3713966782855900059'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default/3713966782855900059'/><link rel='alternate' type='text/html' href='http://aspfactor.blogspot.com/2008/05/asp-components.html' title='ASP Components'/><author><name>Sree</name><uri>http://www.blogger.com/profile/06403327332608212296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='http://4.bp.blogspot.com/-JpwkK6MUNu8/TxfBIqLMkwI/AAAAAAAAAM0/hqL5kgmnKkQ/s220/sf_cert_dev_rgb.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4720603661280222183.post-424339278684461669</id><published>2008-05-26T22:57:00.000-07:00</published><updated>2008-05-26T23:12:32.701-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='global.asa'/><title type='text'>Global.asa File</title><content type='html'>&lt;span style="font-family:verdana;"&gt;The Global.asa file is an optional file (stored in the root directory of the application) that can contain declarations of objects, variables, and methods that can be accessed by every page in an ASP application.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;br /&gt;&lt;strong&gt;The Global.asa file can contain only the following:&lt;/strong&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;Application events &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;Session events &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;object declarations &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;TypeLibrary declarations &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;the #include directive&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;Events in Global.asa&lt;/strong&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;Application_OnStart:&lt;/strong&gt; Occurs when &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;# The FIRST user calls the first page from an ASP application. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;# after the Web server is restarted or after the Global.asa file is edited &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;Session_OnStart:&lt;/strong&gt; Occurs &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;# EVERY time a NEW user requests his or her first page in the ASP application. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;Session_OnEnd:&lt;/strong&gt; Occurs &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;# EVERY time a user ends a session. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;# after a page has not been requested by the user for a specified time &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;Application_OnEnd:&lt;/strong&gt; Occurs &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;# after the LAST user has ended the session. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;# when a Web server stops&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;&lt;strong&gt;Note:&lt;/strong&gt; we cannot use the ASP script delimiters to insert scripts in the Global.asa file&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;br /&gt;&lt;strong&gt;A Global.asa file could look something like this:&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://2.bp.blogspot.com/_YHWJ_AsQquw/SDukoGpgZ4I/AAAAAAAAADw/PDyILdC4OwU/s1600-h/glo.PNG"&gt;&lt;span style="font-family:verdana;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5204934803243165570" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://2.bp.blogspot.com/_YHWJ_AsQquw/SDukoGpgZ4I/AAAAAAAAADw/PDyILdC4OwU/s400/glo.PNG" border="0" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:verdana;"&gt; &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;Difference between Object tag and Server.CreateObject:&lt;/strong&gt;&lt;br /&gt;object tag creates the object and initializes the memory only when the first method/property of the object was accessed.Server.CreateObject will immediately create the object and initialize the memory.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;"&gt;&lt;br /&gt; &lt;/p&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4720603661280222183-424339278684461669?l=aspfactor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfactor.blogspot.com/feeds/424339278684461669/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4720603661280222183&amp;postID=424339278684461669' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default/424339278684461669'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default/424339278684461669'/><link rel='alternate' type='text/html' href='http://aspfactor.blogspot.com/2008/05/globalasa-file.html' title='Global.asa File'/><author><name>Sree</name><uri>http://www.blogger.com/profile/06403327332608212296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='http://4.bp.blogspot.com/-JpwkK6MUNu8/TxfBIqLMkwI/AAAAAAAAAM0/hqL5kgmnKkQ/s220/sf_cert_dev_rgb.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_YHWJ_AsQquw/SDukoGpgZ4I/AAAAAAAAADw/PDyILdC4OwU/s72-c/glo.PNG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4720603661280222183.post-206262962762377826</id><published>2008-05-26T22:50:00.000-07:00</published><updated>2008-05-26T22:56:32.078-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='#include'/><category scheme='http://www.blogger.com/atom/ns#' term='include'/><title type='text'>ASP #include</title><content type='html'>The #include directive is used to create functions, headers, footers, or elements that will be reused on multiple pages.&lt;br /&gt;&lt;strong&gt;Syntax:&lt;/strong&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_YHWJ_AsQquw/SDuiKWpgZ1I/AAAAAAAAADY/TYul-Tx_woE/s1600-h/inc1.PNG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5204932093118801746" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://3.bp.blogspot.com/_YHWJ_AsQquw/SDuiKWpgZ1I/AAAAAAAAADY/TYul-Tx_woE/s400/inc1.PNG" border="0" /&gt;&lt;/a&gt;&lt;strong&gt;Virtual:&lt;/strong&gt; to indicate a path beginning with a virtual directory&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_YHWJ_AsQquw/SDuiKmpgZ2I/AAAAAAAAADg/AQ-4sdeK5ig/s1600-h/inc2.PNG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5204932097413769058" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://4.bp.blogspot.com/_YHWJ_AsQquw/SDuiKmpgZ2I/AAAAAAAAADg/AQ-4sdeK5ig/s400/inc2.PNG" border="0" /&gt;&lt;/a&gt;&lt;strong&gt;File:&lt;/strong&gt; to indicate a relative path. A relative path begins with the directory that contains the including file.&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_YHWJ_AsQquw/SDuiKmpgZ3I/AAAAAAAAADo/upvJsqdu9c4/s1600-h/inc3.PNG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5204932097413769074" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://4.bp.blogspot.com/_YHWJ_AsQquw/SDuiKmpgZ3I/AAAAAAAAADo/upvJsqdu9c4/s400/inc3.PNG" border="0" /&gt;&lt;/a&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="color:#cc0000;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="color:#cc0000;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="color:#cc0000;"&gt;&lt;strong&gt;Note:&lt;/strong&gt; Included files are processed and inserted before the scripts are executed.&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4720603661280222183-206262962762377826?l=aspfactor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfactor.blogspot.com/feeds/206262962762377826/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4720603661280222183&amp;postID=206262962762377826' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default/206262962762377826'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default/206262962762377826'/><link rel='alternate' type='text/html' href='http://aspfactor.blogspot.com/2008/05/asp-include.html' title='ASP #include'/><author><name>Sree</name><uri>http://www.blogger.com/profile/06403327332608212296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='http://4.bp.blogspot.com/-JpwkK6MUNu8/TxfBIqLMkwI/AAAAAAAAAM0/hqL5kgmnKkQ/s220/sf_cert_dev_rgb.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_YHWJ_AsQquw/SDuiKWpgZ1I/AAAAAAAAADY/TYul-Tx_woE/s72-c/inc1.PNG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4720603661280222183.post-412438474005102266</id><published>2008-05-26T22:44:00.001-07:00</published><updated>2008-05-26T22:49:24.419-07:00</updated><title type='text'>ASP Application</title><content type='html'>&lt;span style="font-family:verdana;"&gt;A group of ASP files that work together to perform some purpose is called an application.&lt;br /&gt;Application variables are available to all pages in one application. Application variables are used to store information about ALL users in a specific application.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;To create application variables:&lt;/strong&gt;&lt;br /&gt;You can create Application variables in "Global.asa" like this:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_YHWJ_AsQquw/SDugKmpgZ0I/AAAAAAAAADQ/Ote0TSmFWR4/s1600-h/app.PNG"&gt;&lt;span style="font-family:verdana;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5204929898390513474" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://4.bp.blogspot.com/_YHWJ_AsQquw/SDugKmpgZ0I/AAAAAAAAADQ/Ote0TSmFWR4/s400/app.PNG" border="0" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;Lock and Unlock:&lt;/strong&gt;&lt;br /&gt;Application.Lock&lt;br /&gt;  'do some application object operations&lt;br /&gt;Application.Unlock&lt;br /&gt;&lt;/span&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family:verdana;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4720603661280222183-412438474005102266?l=aspfactor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfactor.blogspot.com/feeds/412438474005102266/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4720603661280222183&amp;postID=412438474005102266' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default/412438474005102266'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default/412438474005102266'/><link rel='alternate' type='text/html' href='http://aspfactor.blogspot.com/2008/05/asp-application.html' title='ASP Application'/><author><name>Sree</name><uri>http://www.blogger.com/profile/06403327332608212296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='http://4.bp.blogspot.com/-JpwkK6MUNu8/TxfBIqLMkwI/AAAAAAAAAM0/hqL5kgmnKkQ/s220/sf_cert_dev_rgb.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_YHWJ_AsQquw/SDugKmpgZ0I/AAAAAAAAADQ/Ote0TSmFWR4/s72-c/app.PNG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4720603661280222183.post-7386091009918865519</id><published>2008-05-26T22:16:00.000-07:00</published><updated>2008-05-26T22:29:45.409-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='session'/><title type='text'>ASP Session</title><content type='html'>&lt;span style="font-family:verdana;"&gt;The Session object is used to store information about a user session. Session variables are used to store information about ONE single user, and are available to all pages in one application. Typically information stored in session variables are name, id, and preferences.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;Internal mechanism: &lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:verdana;"&gt;Session is implemented by creating a unique id (session id) on the server for each user and embedding a cookie on the user machine with the session id. This is taken care of by isapi (internet server application programming interface) in server. If cookies are disabled in the user’s browser then isapi takes care of creating a cookie.&lt;br /&gt;Session Starts when a new user requests an ASP file, and the Global.asa file includes a Session_OnStart procedure.&lt;br /&gt;A session ends if a user has not requested or refreshed a page in the application for a specified period. By default, this is 20 minutes.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;br /&gt;&lt;strong&gt;To set the timeout interval&lt;/strong&gt;, Timeout property is used.&lt;br /&gt;Session.Timeout=5&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;To end the session immediately&lt;/strong&gt;, Abandon method is used.&lt;br /&gt;Session.Abandon&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Store session variables:&lt;/strong&gt;&lt;br /&gt;Session("username")="Donald Duck"&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Retrieve session variables:&lt;/strong&gt;&lt;br /&gt;Response.Write(Session("username"))&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Remove session variables:&lt;/strong&gt;&lt;br /&gt;If Session.Contents("age")&lt;18&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;To remove all variables in a session&lt;/strong&gt;, use the RemoveAll method:&lt;br /&gt;Session.Contents.RemoveAll()&lt;br /&gt;&lt;strong&gt;To know the number of items in the content collection:&lt;/strong&gt; use Count property&lt;br /&gt;Session.Contents.Count&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;To see the values of all objects stored in the session object:&lt;/strong&gt;&lt;br /&gt;dim i&lt;br /&gt;For Each i in Session.StaticObjects&lt;br /&gt;Response.Write(i)&lt;br /&gt;Next&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;What is the difference between session and cookie?&lt;/strong&gt;&lt;br /&gt;# If you set the variable to "cookies", then your users will not have to log in each time they enter your community.&lt;br /&gt;# The cookie will stay in place within the user’s browser until it is deleted by the user. But Sessions are popularly used, as the there is a chance of your cookies getting blocked if the user browser security setting is set high.&lt;br /&gt;# If you set the variable to "sessions", then user activity will be tracked using browser sessions, and your users will have to log in each time they re-open their browser.&lt;br /&gt;# The Key difference would be cookies are stored in your hard disk whereas a session isn’t stored in your hard disk. Sessions are basically like tokens, which are generated at authentication.&lt;br /&gt;# A session is available as long as the browser is opened.&lt;br /&gt;# Cookies are not secure where as sessions are secure.&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4720603661280222183-7386091009918865519?l=aspfactor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfactor.blogspot.com/feeds/7386091009918865519/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4720603661280222183&amp;postID=7386091009918865519' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default/7386091009918865519'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default/7386091009918865519'/><link rel='alternate' type='text/html' href='http://aspfactor.blogspot.com/2008/05/asp-session.html' title='ASP Session'/><author><name>Sree</name><uri>http://www.blogger.com/profile/06403327332608212296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='http://4.bp.blogspot.com/-JpwkK6MUNu8/TxfBIqLMkwI/AAAAAAAAAM0/hqL5kgmnKkQ/s220/sf_cert_dev_rgb.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4720603661280222183.post-1554828475551000584</id><published>2008-05-26T22:08:00.000-07:00</published><updated>2008-05-26T22:13:58.325-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='objects'/><title type='text'>ASP Objects</title><content type='html'>&lt;span style="font-family:verdana;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5204920157404686082" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://4.bp.blogspot.com/_YHWJ_AsQquw/SDuXTmpgZwI/AAAAAAAAACw/-ouyF5IkeGI/s400/aspobjects.PNG" border="0" /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;Response Object:&lt;/strong&gt; Response object is used to display items on a web page. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;Request Object:&lt;/strong&gt; The ASP Request object is used to get information from the user.&lt;br /&gt;&lt;strong&gt;Application Object:&lt;/strong&gt; A group of ASP files that work together to perform some purpose is called an application. The Application object in ASP is used to tie these files together.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;Session Object:&lt;/strong&gt; The Session object is used to store information about, or change settings for a user session.&lt;br /&gt;&lt;strong&gt;Server Object:&lt;/strong&gt; The ASP Server object is used to access properties and methods on the server.&lt;br /&gt;&lt;strong&gt;ASPError Object:&lt;/strong&gt; The ASPError object is used to display detailed information of any error that occurs in scripts in an ASP page.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;Object Context:&lt;/strong&gt; The ObjectContext object can be used to commit or abort a transaction.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_YHWJ_AsQquw/SDuYDmpgZyI/AAAAAAAAADA/IrGMW2Dauic/s1600-h/collections.PNG"&gt;&lt;span style="font-family:verdana;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5204920982038406946" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://4.bp.blogspot.com/_YHWJ_AsQquw/SDuYDmpgZyI/AAAAAAAAADA/IrGMW2Dauic/s400/collections.PNG" border="0" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:verdana;"&gt; &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4720603661280222183-1554828475551000584?l=aspfactor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfactor.blogspot.com/feeds/1554828475551000584/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4720603661280222183&amp;postID=1554828475551000584' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default/1554828475551000584'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default/1554828475551000584'/><link rel='alternate' type='text/html' href='http://aspfactor.blogspot.com/2008/05/asp-objects.html' title='ASP Objects'/><author><name>Sree</name><uri>http://www.blogger.com/profile/06403327332608212296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='http://4.bp.blogspot.com/-JpwkK6MUNu8/TxfBIqLMkwI/AAAAAAAAAM0/hqL5kgmnKkQ/s220/sf_cert_dev_rgb.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_YHWJ_AsQquw/SDuXTmpgZwI/AAAAAAAAACw/-ouyF5IkeGI/s72-c/aspobjects.PNG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4720603661280222183.post-4586600971816530708</id><published>2008-05-26T21:43:00.000-07:00</published><updated>2008-05-26T22:02:11.017-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cookie'/><category scheme='http://www.blogger.com/atom/ns#' term='using cookies'/><title type='text'>ASP Cookies</title><content type='html'>&lt;span style="font-family:verdana;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:verdana;"&gt;A cookie is a temporary file used to identify a user. A cookie is a small file that the server embeds on the user's computer. Each time the same computer requests a page with a browser, it will send the cookie too.&lt;/span&gt;&lt;/p&gt;&lt;span style="font-family:verdana;"&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;Why is a cookie used?&lt;/strong&gt;&lt;br /&gt;A cookie (persistent) enables a website to remember you on subsequent visits, speeding up or enhancing your experience of services or functions offered.&lt;br /&gt;For example, a website may offer its contents in different languages. On your first visit, you may choose to have the content delivered in French and the site may record that preference in a persistent cookie set on your browser. When you revisit that site it will use the cookie to ensure that the content is delivered in French.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;Creating a Cookie:&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;Response.Cookies("firstname")="Alex"&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;Properties:&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;1. Domain:&lt;/strong&gt; This is the domain that the cookie originated from. It is set by default to the domain in which it was created but it can be altered.&lt;br /&gt;&lt;strong&gt;Example:&lt;/strong&gt; Response.Cookies("name").Domain = http://www.cookiemonster.com/&lt;br /&gt;&lt;strong&gt;2. Expires: &lt;/strong&gt;There are 2 ways.&lt;br /&gt;a) You can use the current date and add or subtract days&lt;br /&gt;Response.Cookies("name").Expires = Date + 365&lt;br /&gt;b) You can set it to a specific date&lt;/p&gt;&lt;p&gt;Response.Cookies("name").Expires = #May 10,2002#&lt;/p&gt;&lt;p&gt;&lt;span style="color:#cc0000;"&gt;&lt;strong&gt;Note:&lt;/strong&gt; To expire the session enabled with cookies, Give current date.&lt;/span&gt; &lt;/p&gt;&lt;p&gt;Example: Response.Cookies("name").Expires = Date OR Date-1&lt;br /&gt;&lt;strong&gt;3. Path:&lt;/strong&gt; This specifies in more detail the exact path on the domain that can use the cookie.&lt;br /&gt;Response.Cookies("name").Path = "/this/is/the/path"&lt;br /&gt;&lt;strong&gt;4. Secure:&lt;/strong&gt; If set, the cookie will only be set if the browser is using secure sockets or https:// to connect.&lt;br /&gt;Response.Cookies("name").Secure = True&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;Dictionary Cookie OR Cookies with Keys:&lt;/strong&gt; It is a cookie that can hold multiple values.&lt;br /&gt;&lt;strong&gt;Example:&lt;br /&gt;&lt;/strong&gt;Response.Cookies("name")("first") = "John"Response.Cookies("name")("last") = "Smith" &lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;How to know if the cookie has keys?&lt;/strong&gt;&lt;br /&gt;Ans: With the Haskeys property.&lt;br /&gt;&lt;strong&gt;Example:&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;dim x,y&lt;/p&gt;&lt;p&gt;for each x in Request.Cookies&lt;/p&gt;&lt;p&gt;  if Request.Cookies(x).HasKeys then &lt;/p&gt;&lt;p&gt;    for each y in Request.Cookies(x)&lt;/p&gt;&lt;p&gt;      response.write(x &amp;amp; ":" &amp;amp; y &amp;amp; "=" &amp;amp; Request.Cookies(x)(y))&lt;/p&gt;&lt;p&gt;    next &lt;/p&gt;&lt;p&gt;  else&lt;/p&gt;&lt;p&gt;    Response.Write(x &amp;amp; "=" &amp;amp; Request.Cookies(x))&lt;/p&gt;&lt;p&gt;  end if &lt;/p&gt;&lt;p&gt;next&lt;/p&gt;&lt;p&gt;&lt;span style="color:#cc0000;"&gt;&lt;strong&gt;Note:&lt;/strong&gt; There are limits on how much data you can put on a clients browser. Most browsers allow you to place 20 cookies per domain at a maximum of 4k each.&lt;br /&gt;&lt;/span&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Types of cookies:&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;1. Persistent:&lt;/strong&gt; Persistent cookies are stored on your computer hard disk. They stay on your hard disk and can be accessed by web servers until they are deleted or have expired. Persistent cookies are not affected by your browser setting that deletes temporary files when you close your browser.&lt;br /&gt;&lt;strong&gt;2. Non-Persistent:&lt;/strong&gt; Non-persistent cookies are saved only while your web browser is running. They can be used by a web server only until you close your browser. They are not saved on your disk.&lt;/p&gt;&lt;p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4720603661280222183-4586600971816530708?l=aspfactor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfactor.blogspot.com/feeds/4586600971816530708/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4720603661280222183&amp;postID=4586600971816530708' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default/4586600971816530708'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default/4586600971816530708'/><link rel='alternate' type='text/html' href='http://aspfactor.blogspot.com/2008/05/asp-cookies.html' title='ASP Cookies'/><author><name>Sree</name><uri>http://www.blogger.com/profile/06403327332608212296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='http://4.bp.blogspot.com/-JpwkK6MUNu8/TxfBIqLMkwI/AAAAAAAAAM0/hqL5kgmnKkQ/s220/sf_cert_dev_rgb.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4720603661280222183.post-6739488228663157991</id><published>2008-05-26T20:59:00.000-07:00</published><updated>2008-05-26T21:24:37.784-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='post method'/><category scheme='http://www.blogger.com/atom/ns#' term='get method'/><title type='text'>ASP Forms</title><content type='html'>&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;&lt;span style="color:#000099;"&gt;ASP FORMS and INPUTS&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;Commands for information retrieval from forms:&lt;br /&gt;1.      Request.QueryString&lt;br /&gt;2.      Request.Form&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;Difference between GET and POST methods:&lt;br /&gt;GET:&lt;/strong&gt;&lt;br /&gt;1.      Limited data can be sent upto 255 characters.&lt;br /&gt;2.      Command used is Request.QueryString&lt;br /&gt;3.      Data is visible to the users as it is passed using querystring of the url.&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;POST:&lt;br /&gt;&lt;/strong&gt;1.      Umlimited data can be sent.&lt;br /&gt;2.      Command used is Request.Form&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;3.      Data is not visible to the users as it is passed using form elements.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4720603661280222183-6739488228663157991?l=aspfactor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfactor.blogspot.com/feeds/6739488228663157991/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4720603661280222183&amp;postID=6739488228663157991' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default/6739488228663157991'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default/6739488228663157991'/><link rel='alternate' type='text/html' href='http://aspfactor.blogspot.com/2008/05/asp-forms.html' title='ASP Forms'/><author><name>Sree</name><uri>http://www.blogger.com/profile/06403327332608212296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='http://4.bp.blogspot.com/-JpwkK6MUNu8/TxfBIqLMkwI/AAAAAAAAAM0/hqL5kgmnKkQ/s220/sf_cert_dev_rgb.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4720603661280222183.post-2933464135827410016</id><published>2008-05-26T20:37:00.000-07:00</published><updated>2008-05-26T20:58:27.476-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='introduction'/><category scheme='http://www.blogger.com/atom/ns#' term='asp'/><title type='text'>ASP Introduction</title><content type='html'>&lt;p&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;&lt;span style="color:#000099;"&gt;INTRODUCTION&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family:verdana;"&gt;ASP stands for Active Server Pages &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:verdana;"&gt;ASP is a program that runs inside IIS (Internet Information Services)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:verdana;"&gt;An ASP file can contain text, HTML, XML, and scripts &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:verdana;"&gt;Scripts in an ASP file are executed on the server&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;span style="font-family:verdana;"&gt;You can run ASP on your own PC without an external server. To do that, you must install Microsoft's Personal Web Server (PWS) or Internet Information Services (IIS) on your PC. &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;"&gt;The default scripting language is VBScript. To set JavaScript as the default scripting language for a particular page you must insert a language specification at the top of the page. Like this: asp delimiter @ language="JavaScript" asp delimiter&lt;/span&gt;&lt;/p&gt;&lt;span style="font-family:verdana;"&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;Execution:&lt;/strong&gt; When a browser requests an ASP file, IIS passes the request to the ASP engine. The ASP engine reads the ASP file, line by line, and executes the scripts in the file. Finally, the ASP file is returned to the browser as plain HTML. &lt;/p&gt;&lt;p&gt;&lt;strong&gt;Advantages of ASP:&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;• Minimizes network traffic by limiting the need for the browser and server to talk to each other&lt;br /&gt;• Makes for quicker loading time since HTML pages are only downloaded&lt;br /&gt;• Allows to run programs in languages that are not supported by the browser&lt;br /&gt;• Can provide the client with data that does not reside on the client’s machine&lt;br /&gt;• Provides improved security measures since the script cannot be viewed by the browser &lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;&lt;strong&gt;Difference between server side scripting and client side scripting:&lt;/strong&gt; &lt;/p&gt;&lt;p&gt;Scripts executed only by the browser without contacting the server is called client-side script. It is browser dependent. The scripting code is visible to the user and hence not secure. Scripts executed by the web server and processed by the server is called server-side script. &lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;&lt;strong&gt;Order of execution for an ASP application:&lt;/strong&gt;&lt;br /&gt;1) Global.asa &lt;/p&gt;&lt;p&gt;2) Server-side Includes statements &lt;/p&gt;&lt;p&gt;3) Directives &lt;/p&gt;&lt;p&gt;4) Jscript scripts tagged within SCRIPT tags &lt;/p&gt;&lt;p&gt;5) HTML together with scripts tagged within asp delimiters &lt;/p&gt;&lt;p&gt;6) VBScripts tagged within SCRIPT tags&lt;br /&gt;&lt;/p&gt;&lt;p&gt;In a simple way, order of scripts is defined as (points 4, 5, 6 above) scripts in non-default language scripts using asp delimiter scripts in default language&lt;br /&gt;ILLUSTRATION:&lt;/span&gt;&lt;/p&gt;&lt;a href="http://4.bp.blogspot.com/_YHWJ_AsQquw/SDuFZmpgZuI/AAAAAAAAACg/apCCih-q4N8/s1600-h/illus1.PNG"&gt;&lt;span style="font-family:verdana;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5204900469274601186" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://4.bp.blogspot.com/_YHWJ_AsQquw/SDuFZmpgZuI/AAAAAAAAACg/apCCih-q4N8/s400/illus1.PNG" border="0" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:verdana;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;a href="http://1.bp.blogspot.com/_YHWJ_AsQquw/SDuFZ2pgZvI/AAAAAAAAACo/9KTi2McSXMQ/s1600-h/illus1a.PNG"&gt;&lt;span style="font-family:verdana;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5204900473569568498" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://1.bp.blogspot.com/_YHWJ_AsQquw/SDuFZ2pgZvI/AAAAAAAAACo/9KTi2McSXMQ/s400/illus1a.PNG" border="0" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:verdana;"&gt; &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4720603661280222183-2933464135827410016?l=aspfactor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspfactor.blogspot.com/feeds/2933464135827410016/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4720603661280222183&amp;postID=2933464135827410016' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default/2933464135827410016'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4720603661280222183/posts/default/2933464135827410016'/><link rel='alternate' type='text/html' href='http://aspfactor.blogspot.com/2008/05/asp-introduction.html' title='ASP Introduction'/><author><name>Sree</name><uri>http://www.blogger.com/profile/06403327332608212296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='http://4.bp.blogspot.com/-JpwkK6MUNu8/TxfBIqLMkwI/AAAAAAAAAM0/hqL5kgmnKkQ/s220/sf_cert_dev_rgb.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_YHWJ_AsQquw/SDuFZmpgZuI/AAAAAAAAACg/apCCih-q4N8/s72-c/illus1.PNG' height='72' width='72'/><thr:total>0</thr:total></entry></feed>
