<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Xillent Web Design &#124; Development</title>
	<atom:link href="http://blog.xillent.com/index.php/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.xillent.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Wed, 06 Oct 2010 20:43:48 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>San Francisco Web Design in SOMA</title>
		<link>http://blog.xillent.com/index.php/san-francisco-web-design-in-soma/</link>
		<comments>http://blog.xillent.com/index.php/san-francisco-web-design-in-soma/#comments</comments>
		<pubDate>Wed, 06 Oct 2010 19:37:24 +0000</pubDate>
		<dc:creator>Thy Nguyen</dc:creator>
				<category><![CDATA[Xillent Talk]]></category>

		<guid isPermaLink="false">http://blog.xillent.com/?p=235</guid>
		<description><![CDATA[Xillent Studios have just settled into another design lab right off of the San Francisco Bay Bridge in SOMA. There are many new web designs coming out from our design lab. This new location is located off of 3rd Street about 100 feet from Wired magazine and within walking distance to MOMA museum.  If you are [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.xillent.com/wp-content/uploads/2010/10/SOMA-Design-Studio.jpg"><img class="alignleft size-medium wp-image-236" title="SOMA-Design Studio" src="http://blog.xillent.com/wp-content/uploads/2010/10/SOMA-Design-Studio-300x224.jpg" alt="" width="300" height="224" /></a>Xillent Studios have just settled into another design lab right off of the San Francisco Bay Bridge in SOMA. There are many new web designs coming out from our design lab. This new location is located off of 3rd Street about 100 feet from Wired magazine and within walking distance to MOMA museum.  If you are nearby you can contact us at our SF number (415) 315-9542 or our (866) WEB-0101 for design works.<BR/><BR/><br />
In our new facility we have 7 design stations and a dedicated space for a printshop managed by Inked Studios. With our partners we can put together a media package for legacy and online/offline marketing materials which includes branding, brochures, menus, booklet, and promotional product printing. We are your one-stop solution for web design/development and branding.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.xillent.com/index.php/san-francisco-web-design-in-soma/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Happy Martin Luther King, Jr. Day!</title>
		<link>http://blog.xillent.com/index.php/happy-martin-luther-king-jr-day/</link>
		<comments>http://blog.xillent.com/index.php/happy-martin-luther-king-jr-day/#comments</comments>
		<pubDate>Sun, 17 Jan 2010 20:05:01 +0000</pubDate>
		<dc:creator>Thy Nguyen</dc:creator>
				<category><![CDATA[Xillent Talk]]></category>

		<guid isPermaLink="false">http://blog.xillent.com/?p=206</guid>
		<description><![CDATA[Hope everyone is resting up this weekend and enjoying  the coming Monday not working. Those of you who still have to work on Monday should go and ask your boss for that day off.  If your boss says &#8220;NO&#8221; then there must be some good reasons behind it.
Martin Luther King, Jr. day  [...]]]></description>
			<content:encoded><![CDATA[<p>Hope everyone is resting up this weekend and enjoying  the coming Monday not working. Those of you who still have to work on Monday should go and ask your boss for that day off.  If your boss says &#8220;NO&#8221; then there must be some good reasons behind it.</p>
<p>Martin Luther King, Jr. day  commemorates the birthday of Martin Luther King Jr on the 3rd Monday of  January. So next year it is going to be on January 18th.  The team at Xillent wants you to have a safe and enjoyable Martin Luther King, Jr. Day!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.xillent.com/index.php/happy-martin-luther-king-jr-day/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Donating to Haiti Victims</title>
		<link>http://blog.xillent.com/index.php/donating-to-haiti-victims/</link>
		<comments>http://blog.xillent.com/index.php/donating-to-haiti-victims/#comments</comments>
		<pubDate>Fri, 15 Jan 2010 00:45:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Xillent Talk]]></category>
		<category><![CDATA[donating]]></category>
		<category><![CDATA[haiti earthquake]]></category>

		<guid isPermaLink="false">http://blog.xillent.com/?p=198</guid>
		<description><![CDATA[Recently, Haiti was hit with an 7.0 earthquake. Bill Clinton and Wyclef Jean have made it easy to make contribution to this region and its victims.
To donate $5, text &#8220;Yele&#8221; to 501501 and $5 will be charged to your phone bill &#8211; Wyclef Jean&#8217;s foundation
To donate $10, text &#8220;HAITI&#8221; to 20222 &#8211; Bill Clinton
]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-thumbnail wp-image-199" title="Haiti Earthquake" src="http://blog.xillent.com/wp-content/uploads/2010/01/titlephoto2-150x150.jpg" alt="Haiti Earthquake" width="150" height="150" />Recently, Haiti was hit with an 7.0 earthquake. Bill Clinton and Wyclef Jean have made it easy to make contribution to this region and its victims.</p>
<p>To donate $5, text &#8220;Yele&#8221; to 501501 and $5 will be charged to your phone bill &#8211; Wyclef Jean&#8217;s foundation</p>
<p>To donate $10, text &#8220;HAITI&#8221; to 20222 &#8211; Bill Clinton</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.xillent.com/index.php/donating-to-haiti-victims/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Quickbooks Shopping Cart Integration</title>
		<link>http://blog.xillent.com/index.php/quickbooks-shopping-cart-integration/</link>
		<comments>http://blog.xillent.com/index.php/quickbooks-shopping-cart-integration/#comments</comments>
		<pubDate>Wed, 06 Jan 2010 23:07:44 +0000</pubDate>
		<dc:creator>Thy Nguyen</dc:creator>
				<category><![CDATA[Xillent Talk]]></category>
		<category><![CDATA[Online Book Keeping]]></category>
		<category><![CDATA[Quickbooks Shopping Cart]]></category>
		<category><![CDATA[Quickbooks Shopping Cart synchronize]]></category>

		<guid isPermaLink="false">http://blog.xillent.com/?p=190</guid>
		<description><![CDATA[Xillent is launching a new web service that allows its clients to synchronize their transactions with their online quickbooks. It will be hosted on Xillent domain and would transverse between its clients shopping cart and the clients online Quickbooks account. This will make book keeping a lot simpler for a lot of website that has [...]]]></description>
			<content:encoded><![CDATA[<p>Xillent is launching a new web service that allows its clients to synchronize their transactions with their online quickbooks. It will be hosted on Xillent domain and would transverse between its clients shopping cart and the clients online Quickbooks account. This will make book keeping a lot simpler for a lot of website that has a shopping cart of one form or another. Any new sales will show up in your online quickbooks. Xillent offers other Quickbooks integration that is not on its server.</p>
<p>Such integration are:<br />
1.) On your server<br />
2.) Desktop API Integration<br />
3.) Online API Integration<br />
4.) Consuming different Quickbooks services</p>
<p>This would greatly reduce the work of book keeping. Synchronizing your Quickbooks with your shopping cart&#8217;s transactions is one of the best choices you have made for your business.   </p>
<p>There are two types of API integrations for Quickbooks. One is desktop and the other is online. Although the name desktop may seems to be misconstrued as made for desktop alone but it is also used for online integration. The major difference between the two is that the online requires a hash key that encrypts the data and transaction using SSL. This is an extra encryption precaution. We can also SSL the connection for the desktop version.</p>
<p>We will be launching this service fairly shortly. In addition to the launch of our service we are releasing our development dll for developers to use for their own integration. We have made it so that you can consume our server services from your code or through javascript. So it is programmer friendly and simple to use. You can find out more on our next blog posts.</p>
<div class="wpcf7" id="wpcf7-f1-p190-o1"><form action="/index.php/feed/#wpcf7-f1-p190-o1" method="post" class="wpcf7-form">
<div style="display: none;">
<input type="hidden" name="_wpcf7" value="1" />
<input type="hidden" name="_wpcf7_version" value="2.0.6" />
<input type="hidden" name="_wpcf7_unit_tag" value="wpcf7-f1-p190-o1" />
</div>
<p>Your Name (required)<br />
    <span class="wpcf7-form-control-wrap your-name"><input type="text" name="your-name" value="" class="wpcf7-validates-as-required" size="40" /></span> </p>
<p>Your Email (required)<br />
    <span class="wpcf7-form-control-wrap your-email"><input type="text" name="your-email" value="" class="wpcf7-validates-as-email wpcf7-validates-as-required" size="40" /></span> </p>
<p>Subject<br />
    <span class="wpcf7-form-control-wrap your-subject"><input type="text" name="your-subject" value="" size="40" /></span> </p>
<p>Your Message<br />
    <span class="wpcf7-form-control-wrap your-message"><textarea name="your-message" cols="40" rows="10"></textarea></span> </p>
<p><input type="submit" value="Send" /> <img class="ajax-loader" style="visibility: hidden;" alt="ajax loader" src="http://blog.xillent.com/wp-content/plugins/contact-form-7/images/ajax-loader.gif" /></p>
<div class="wpcf7-response-output wpcf7-display-none"></div></form></div>
]]></content:encoded>
			<wfw:commentRss>http://blog.xillent.com/index.php/quickbooks-shopping-cart-integration/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Blog Sites and the Company that benefits</title>
		<link>http://blog.xillent.com/index.php/blog-sites-and-the-company-that-benefits/</link>
		<comments>http://blog.xillent.com/index.php/blog-sites-and-the-company-that-benefits/#comments</comments>
		<pubDate>Sun, 03 Jan 2010 07:05:41 +0000</pubDate>
		<dc:creator>Thy Nguyen</dc:creator>
				<category><![CDATA[Company News]]></category>
		<category><![CDATA[Xillent Talk]]></category>
		<category><![CDATA[blog sites]]></category>
		<category><![CDATA[Search engine optimization]]></category>
		<category><![CDATA[seo]]></category>

		<guid isPermaLink="false">http://blog.xillent.com/?p=181</guid>
		<description><![CDATA[After spending the last 2 months finishing up some work on several projects, I find myself looking back at some of these projects and estimating which project will take off more than others. Even when we thought that we have not done much in the last year I believe that we have done a lot. [...]]]></description>
			<content:encoded><![CDATA[<p>After spending the last 2 months finishing up some work on several projects, I find myself looking back at some of these projects and estimating which project will take off more than others. Even when we thought that we have not done much in the last year I believe that we have done a lot. We have built over 5 different Content Management Systems for a range of applications in the course of six months. It is such a big accomplishment. What stuck in my head are blog sites and how important they are still in web development. In all honesty a lot of web developers out there know nothing about Search Engine Optimization, let alone the SEO experts themselves claiming to know more than the truth.</p>
<p>Some will only optimize for a selected search engine since doing it for a broad range of search engines won&#8217;t get you as far and will cost you far more. I rather go for organic searches and throw away the PPC because sometime in some markets or industries its way too saturated. At Xillent we usually throw out all the open source CMS because it is too cumbersome unless the client really requests it. But for a blogging CMS, WordPress does a fantastic job.</p>
<p>Installing a wordpress website as a corporate blog can quickly claim you to stardom in SEO terms because it encompass around a team of professional working to put together a news syndication tool. This started out for people who don&#8217;t have a badge in journalism but love to write about their daily rants. Put that asides, you should not abuse your blog and copy content from others. I will write a short summary how to get the most out from your wordpress blog and how it can help your company:</p>
<p>1.) Theming: Your blog should match in look and feel of your website so there is no feeling of detachment. I don&#8217;t necessary like the design on our current blog but it is artistically satisfying for some.</p>
<p>2.) Permalinks: Get your deep linkings or permalinks up and running to include descriptive formats. Ex.. blog.com/news/blogtitle/&#8230;. not blog.com/?p=129&#038;c=12 . Being descriptive helps a lot for search engine spiders. A spider looks and reads only text based pages to be indexed or saved in the search engine database. It will not know what &#8220;?p=123&#038;c=12&#8243; is but what &#8220;news/blogtitle/&#8221; stands for. It is simple how I think about it because search engine is like a child, you have to beat little more descriptive.</p>
<p>3.) Enable your ping. You know how journalists get their content out? They send it out to a syndication and then the world gets it. Same thing as for blogs. It pings many servers. For wordpress, it pings only one server that pings many servers&#8230; This is why search engines know that you wrote any new content. </p>
<p>4.) The thing is news get indexed faster than other content. So a blog is really helpful for your website because your content will also get indexed too. I see websites out there that have really bad url naming convention. <img src='http://blog.xillent.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>If you are starting a company and want to get your name out there first then you should start blogging. Create a custom theme for your company&#8217;s blog and then blog about it. The content gets indexed and you can build up traffic that way. There&#8217;s not a lot of traffic at first but when you do add in other parts of your site, it will also get indexed by the search engine. </p>
<p>That is just one part of it for SEO tips but there are several different factors for creating a faster indexed site and more traffic over a small amount of time. I would say, Wordpress is a useful tool but the CMS is very cumbersome to use though. Aside from that, it gets you up and running the quickest. Let me know if you have any problems or need help with the design when setting up a Wordpress blog.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.xillent.com/index.php/blog-sites-and-the-company-that-benefits/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gym Software</title>
		<link>http://blog.xillent.com/index.php/gym-software/</link>
		<comments>http://blog.xillent.com/index.php/gym-software/#comments</comments>
		<pubDate>Fri, 23 Oct 2009 10:27:21 +0000</pubDate>
		<dc:creator>Thy Nguyen</dc:creator>
				<category><![CDATA[Company News]]></category>
		<category><![CDATA[Xillent Talk]]></category>

		<guid isPermaLink="false">http://blog.xillent.com/?p=174</guid>
		<description><![CDATA[Xillent is proud to be releasing its gym software for online uses. We have been working in the sport/entertainment industry for almost a decade and compiled a solution for gym and mma school owners.  This martial arts software includes the following features:
1.) Unique Clean and Crisp Gym Design
2.) Membership Management
3.) Classes Management
4.) Instructors Page
5.) [...]]]></description>
			<content:encoded><![CDATA[<p>Xillent is proud to be releasing its gym software for online uses. We have been working in the sport/entertainment industry for almost a decade and compiled a solution for gym and mma school owners.  This martial arts software includes the following features:</p>
<p>1.) Unique Clean and Crisp Gym Design<br />
2.) Membership Management<br />
3.) Classes Management<br />
4.) Instructors Page<br />
5.) Image Gallery<br />
6.) Video Page<br />
7.) About us<br />
8.) Web Marketing Tools (Newsletter, Social Tools, Banner, etc..)<br />
9.) Backend Content Management System<br />
10.) Homepage News Section</p>
<p>All this features are included in our package releases. This is from the team who have been designing websites for Mix Martial Arts website for well known gyms. Xillent specializes in online web development and web design. Let the team that works with popular online names such as sherdog, strikeforce, fairtex, warriorwear and more to build you a gym site.</p>
<div class="wpcf7" id="wpcf7-f1-p174-o1"><form action="/index.php/feed/#wpcf7-f1-p174-o1" method="post" class="wpcf7-form">
<div style="display: none;">
<input type="hidden" name="_wpcf7" value="1" />
<input type="hidden" name="_wpcf7_version" value="2.0.6" />
<input type="hidden" name="_wpcf7_unit_tag" value="wpcf7-f1-p174-o1" />
</div>
<p>Your Name (required)<br />
    <span class="wpcf7-form-control-wrap your-name"><input type="text" name="your-name" value="" class="wpcf7-validates-as-required" size="40" /></span> </p>
<p>Your Email (required)<br />
    <span class="wpcf7-form-control-wrap your-email"><input type="text" name="your-email" value="" class="wpcf7-validates-as-email wpcf7-validates-as-required" size="40" /></span> </p>
<p>Subject<br />
    <span class="wpcf7-form-control-wrap your-subject"><input type="text" name="your-subject" value="" size="40" /></span> </p>
<p>Your Message<br />
    <span class="wpcf7-form-control-wrap your-message"><textarea name="your-message" cols="40" rows="10"></textarea></span> </p>
<p><input type="submit" value="Send" /> <img class="ajax-loader" style="visibility: hidden;" alt="ajax loader" src="http://blog.xillent.com/wp-content/plugins/contact-form-7/images/ajax-loader.gif" /></p>
<div class="wpcf7-response-output wpcf7-display-none"></div></form></div>
]]></content:encoded>
			<wfw:commentRss>http://blog.xillent.com/index.php/gym-software/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MMA Template</title>
		<link>http://blog.xillent.com/index.php/mma-template/</link>
		<comments>http://blog.xillent.com/index.php/mma-template/#comments</comments>
		<pubDate>Thu, 27 Aug 2009 22:20:09 +0000</pubDate>
		<dc:creator>Thy Nguyen</dc:creator>
				<category><![CDATA[Company News]]></category>
		<category><![CDATA[Website Design]]></category>
		<category><![CDATA[Xillent Talk]]></category>
		<category><![CDATA[Gym Package]]></category>
		<category><![CDATA[Membership Package]]></category>
		<category><![CDATA[MMA Template]]></category>
		<category><![CDATA[MMA Templates]]></category>
		<category><![CDATA[School Website Package]]></category>
		<category><![CDATA[website package]]></category>

		<guid isPermaLink="false">http://blog.xillent.com/?p=166</guid>
		<description><![CDATA[We are the best in the MMA industry when it comes to websites and MMA templates creation. Sometimes our new clients are much satisfied to know that they are working with knowledgeable professionals in their industry. It is perfect to have our team who knows what our clients want out from his MMA website than [...]]]></description>
			<content:encoded><![CDATA[<p>We are the best in the MMA industry when it comes to websites and MMA templates creation. Sometimes our new clients are much satisfied to know that they are working with knowledgeable professionals in their industry. It is perfect to have our team who knows what our clients want out from his MMA website than a web designer/developer that is limited to only web development. That is why we have been working with big names in the MMA world and is responsible in creating more than a dozen highly profiled MMA websites out there.</p>
<p>Why should people limit themselves to a web designer and developer who know nothing about their industry? People come to us for advice with their MMA website and we give them guidelines with steps on how to begin a professional MMA website with their requests. We have low cost solutions and also high-end, custom boutique websites. We have a network and a reach of clients in the MMA sports world that they can extend to and make a name out for their business. Opt into our newsletter once you become our client to learn more about where the industry is heading to by learning more about the big names that steers the different segments of this market.</p>
<p>Inquiry with us to learn more about our existing solutions:</p>
<p>1.) Gym, Membership, or Schools Package Website<br />
2.) Ecommerce Package Website<br />
3.) Personal Package Website<br />
4.) Corporate Package Website</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.xillent.com/index.php/mma-template/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JQuery Accordion Style Toggle</title>
		<link>http://blog.xillent.com/index.php/jquery-accordion-style-toggle/</link>
		<comments>http://blog.xillent.com/index.php/jquery-accordion-style-toggle/#comments</comments>
		<pubDate>Thu, 06 Aug 2009 20:15:52 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Xillent Talk]]></category>
		<category><![CDATA[Accordion Style Toggle]]></category>
		<category><![CDATA[Jquery]]></category>
		<category><![CDATA[JQuery Accordion]]></category>
		<category><![CDATA[JQuery Accordion Toggle]]></category>
		<category><![CDATA[JQuery Toggle]]></category>

		<guid isPermaLink="false">http://blog.xillent.com/?p=159</guid>
		<description><![CDATA[Goal: Build an accordion style toggle for a page with multiple info boxes. 
Example: http://www.xillent.com/pipeline/sales_info.asp?cid=29
First Attempt: Use jquery script:

&#60;script type=&#34;text/javascript&#34;&#62;
$(document).ready(function() {
$(&#34;#ContentWrapper div.AccordionHeader&#34;).click(function() {
$(this).next(&#34;div.ContentBody&#34;).slideToggle(300).siblings(&#34;div.ContentBody&#34;).slideUp(&#34;slow&#34;);
});
});
&#60;/script&#62;

Problem with First Attempt: We want the image inside the header to show “minus” when we click on it. However, the image inside the header does not change and always shows “plus.”
We tried [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Goal: </strong>Build an accordion style toggle for a page with multiple info boxes.<strong> </strong></p>
<p><strong>Example: </strong><a href="http://www.xillent.com/pipeline/sales_info.asp?cid=29" target="_blank">http://www.xillent.com/pipeline/sales_info.asp?cid=29</a><strong></strong></p>
<p><strong>First Attempt:</strong> Use jquery script:</p>
<pre class="syntax-highlight:javascript">
&lt;script type=&quot;text/javascript&quot;&gt;
$(document).ready(function() {
$(&quot;#ContentWrapper div.AccordionHeader&quot;).click(function() {
$(this).next(&quot;div.ContentBody&quot;).slideToggle(300).siblings(&quot;div.ContentBody&quot;).slideUp(&quot;slow&quot;);
});
});
&lt;/script&gt;
</pre>
<p><strong>Problem with First Attempt:</strong> We want the image inside the header to show “minus” when we click on it. However, the image inside the header does not change and always shows “plus.”</p>
<p>We tried countless solutions for over 5 hours, including “$(this).siblings, $(this).next, $(this).parents, and other combinations. Finally, we figured out the solution:</p>
<p><strong>Final Solution:</strong> $(this).<strong><em>find(&#8220;.InputHeaderIcon&#8221;)</em></strong>.attr(&#8220;src&#8221;,&#8221;assets/icons/min.gif&#8221;);</p>
<p>The “find” returned the first matched element within a dom, and now we can toggle the images correctly.</p>
<pre class="syntax-highlight:javascript">
&lt;script type=&quot;text/javascript&quot;&gt;
$(document).ready(function() {
$(&quot;#ContentWrapper div.AccordionHeader&quot;).click(function() {
$(this).next(&quot;div.ContentBody&quot;).slideToggle(300).siblings(&quot;div.ContentBody&quot;).slideUp(&quot;slow&quot;);
$(&quot;.InputHeaderIcon&quot;).attr(&quot;src&quot;,&quot;assets/icons/max.gif&quot;);
$(this).find(&quot;.InputHeaderIcon&quot;).attr(&quot;src&quot;,&quot;assets/icons/min.gif&quot;);
});
});
&lt;/script&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.xillent.com/index.php/jquery-accordion-style-toggle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Session Logout redirect using Ajax</title>
		<link>http://blog.xillent.com/index.php/session-logout-redirect-using-ajax/</link>
		<comments>http://blog.xillent.com/index.php/session-logout-redirect-using-ajax/#comments</comments>
		<pubDate>Thu, 06 Aug 2009 20:09:58 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[ASP]]></category>
		<category><![CDATA[Code Sharing]]></category>
		<category><![CDATA[Ajax Session Logout]]></category>
		<category><![CDATA[ASP Session]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Session]]></category>
		<category><![CDATA[Session Logout]]></category>

		<guid isPermaLink="false">http://blog.xillent.com/?p=155</guid>
		<description><![CDATA[PROBLEM:
How to create a session control that automatically logs out the users when the session times out?
In ASP, even when the session has timed out, you will still stay on the same page unless you request a new page. This can be an issue if the user is on a public computer.
SOLUTION:
We created a script [...]]]></description>
			<content:encoded><![CDATA[<p><strong>PROBLEM:</strong></p>
<p>How to create a session control that automatically logs out the users when the session times out?</p>
<p>In ASP, even when the session has timed out, you will still stay on the same page unless you request a new page. This can be an issue if the user is on a public computer.</p>
<p><strong>SOLUTION:</strong></p>
<p>We created a script with Javascript, AJAX, and timeout that loads every 5 seconds. The script calls a helper file which returns if the session state is true or false -&gt; if the session state is true, it sends it back to javacript to run again in 5 seconds -&gt; if the session state is false, it sends the user to the logout page.</p>
<p><strong>WHY AJAX?</strong></p>
<p>If we integrated the ASP session value directly into the javacript, the script would always think the session state is active since the ASP code will be built by the server before the javacript gets loaded.</p>
<p>Ajax solves this ASP problem by requesting a different page to check for the session state and give that result back to the javacript.</p>
<p><strong>AJAX PAGE THAT CHECKS THE SESSION STATE</strong><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<pre class="syntax-highlight:php">
&lt;%@LANGUAGE=&quot;VBSCRIPT&quot; CODEPAGE=&quot;1252&quot;%&gt;
&lt;%
if len(session(&quot;OrgID&quot;)) &gt; 0 then
 response.write &quot;1&quot;
else
 response.write &quot;0&quot;
end if
%&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.xillent.com/index.php/session-logout-redirect-using-ajax/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Custom .NET Collection Filters with C# Extension Methods</title>
		<link>http://blog.xillent.com/index.php/141/</link>
		<comments>http://blog.xillent.com/index.php/141/#comments</comments>
		<pubDate>Fri, 06 Mar 2009 20:11:44 +0000</pubDate>
		<dc:creator>bcherry</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[asp.net]]></category>
		<category><![CDATA[examples]]></category>
		<category><![CDATA[linq]]></category>

		<guid isPermaLink="false">http://blog.xillent.com/?p=141</guid>
		<description><![CDATA[Have you ever had a collection (it doesn&#8217;t matter what kind of collection), and done some filtering on it using LINQ methods?  For example, the following:

List&#60;product&#62; products = GetAllProducts();
var inStock = products.Where(p =&#62; p.Qty &#62; 0);
foreach(Product p in inStock)
{
//dosomething with the products
}

This is a pretty common usage of the LINQ extension method Where().  [...]]]></description>
			<content:encoded><![CDATA[<p>Have you ever had a collection (it doesn&#8217;t matter what kind of collection), and done some filtering on it using LINQ methods?  For example, the following:</p>
<pre class="syntax-highlight:c#">
List&lt;product&gt; products = GetAllProducts();
var inStock = products.Where(p =&gt; p.Qty &gt; 0);
foreach(Product p in inStock)
{
//dosomething with the products
}
</pre>
<p>This is a pretty common usage of the LINQ extension method Where().  The above would work for any collection type, including List&lt;&gt;, IList&lt;&gt;, IEnumerable&lt;&gt;, IQueryable&lt;&gt;, or any collection with those handy LINQ extensions.</p>
<p>Anyways, it turns out you can actually write your own extension methods!  Check this out:</p>
<pre class="syntax-highlight:c#">
public static IEnumerable&lt;product&gt; WhereInStock(this IEnumerable&lt;product&gt; p)
{
return p.Where(x =&gt; x.Qty &gt; 0);
}

//... skip ahead to some code where we use the above

var products = GetAllProducts();
var inStock = products.WhereInStock();
</pre>
<p>Ok, so that&#8217;s pretty cool.  But the really neat thing this lets you do is chaining:</p>
<pre class="syntax-highlight:c#">
foreach(Product p in GetProducts().WhereInStock().WhereOnSale())
{
//do something
}
</pre>
<p>Of course, this method will let me grab all of the products, but filter them down based on their qty and their sale status.  The real benefit here is separation of concerns.  This code may be used in the UI layer somewhere.  The UI coder doesn&#8217;t need to know how to determine if a product is on sale (it could be a complicated calculation), and he <strong>shouldn&#8217;t need to</strong>.  By building a common set of filter methods for your domain objects, you&#8217;ll make life a lot easier for other team members.</p>
<p>Note: I haven&#8217;t actually compiled this code above, let me know if I made a typo!</p>
<p><a href="http://www.developer.com/net/csharp/article.php/3592216">Here&#8217;s more on implementing extension methods</a></p>
<p>[this post cross-posted with permission from <a href="http://bcherry.net">bcherry.net</a>]</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.xillent.com/index.php/141/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

