<?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>Things From the Net &#187; jQuery</title>
	<atom:link href="http://www.thingsfromthenet.com/tag/jquery/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thingsfromthenet.com</link>
	<description>My Little Corner of the Internet</description>
	<lastBuildDate>Mon, 06 Feb 2012 04:59:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>8-Tile Puzzle Game</title>
		<link>http://www.thingsfromthenet.com/web-development/8-tile-puzzle-game/506/</link>
		<comments>http://www.thingsfromthenet.com/web-development/8-tile-puzzle-game/506/#comments</comments>
		<pubDate>Sat, 14 Jan 2012 07:29:47 +0000</pubDate>
		<dc:creator>Jonathan Volks</dc:creator>
				<category><![CDATA[Games]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[8 tile]]></category>
		<category><![CDATA[browser game]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[puzzle]]></category>

		<guid isPermaLink="false">http://www.thingsfromthenet.com/?p=506</guid>
		<description><![CDATA[I just created a 8-Tile Puzzle game in jQuery and Javascript. Check out the link below. http://www.thingsfromthenet.com/games/tile/]]></description>
			<content:encoded><![CDATA[<p>I just created a 8-Tile Puzzle game in jQuery and Javascript. Check out the link below.</p>
<p><a href="http://www.thingsfromthenet.com/games/tile/">http://www.thingsfromthenet.com/games/tile/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thingsfromthenet.com/web-development/8-tile-puzzle-game/506/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Snake &#8211; The Classic Arcade Game in jQuery</title>
		<link>http://www.thingsfromthenet.com/web-development/snake-the-classic-arcade-game-in-jquery/485/</link>
		<comments>http://www.thingsfromthenet.com/web-development/snake-the-classic-arcade-game-in-jquery/485/#comments</comments>
		<pubDate>Fri, 06 Jan 2012 23:08:28 +0000</pubDate>
		<dc:creator>Jonathan Volks</dc:creator>
				<category><![CDATA[Games]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[arcade]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[snake]]></category>
		<category><![CDATA[video game]]></category>

		<guid isPermaLink="false">http://www.thingsfromthenet.com/?p=485</guid>
		<description><![CDATA[I just finished creating the classic arcade game Snake in HTML5, CSS3, jQuery and Javascript. Check out the link below. http://www.thingsfromthenet.com/games/snake/]]></description>
			<content:encoded><![CDATA[<p>I just finished creating the classic arcade game Snake in HTML5, CSS3, jQuery and Javascript. Check out the link below.</p>
<p><a href="http://www.thingsfromthenet.com/games/snake/">http://www.thingsfromthenet.com/games/snake/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thingsfromthenet.com/web-development/snake-the-classic-arcade-game-in-jquery/485/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Keeping Session Alive with jQuery</title>
		<link>http://www.thingsfromthenet.com/web-development/keeping-session-alive-with-jquery/186/</link>
		<comments>http://www.thingsfromthenet.com/web-development/keeping-session-alive-with-jquery/186/#comments</comments>
		<pubDate>Fri, 12 Feb 2010 05:16:22 +0000</pubDate>
		<dc:creator>Jonathan Volks</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[session]]></category>

		<guid isPermaLink="false">http://www.jvolks.com/?p=186</guid>
		<description><![CDATA[A while ago I wrote a Coldfusion application that essentially was just a multi-page form. A scenario popped up where users might sit on a page for a long time to answer questions. Specifically more than 20 minutes. Unfortunately, I was unable to change the session timeout within the Application.cfc file due to other conflicts [...]]]></description>
			<content:encoded><![CDATA[<p>A while ago I wrote a Coldfusion application that essentially was just a multi-page form. A scenario popped up where users might sit on a page for a long time to answer questions. Specifically more than 20 minutes. Unfortunately, I was unable to change the session timeout within the Application.cfc file due to other conflicts it may cause.<span id="more-186"></span></p>
<p>I was stumped on what to do until a colleague just happened to stumble across a blog posting by <a href="http://www.bpurcell.org" target="_blank">Brandon Purcell</a>. To resolve my dilemma, jQuery is going to be used to keep the session open as long as the user keeps the page open.</p>
<p>The first step is to create an empty Coldfusion page. Why empty? Just to be sure nothing on the page causes it to hang up. Next, we setup jQuery to call this page every X amount of seconds (just make sure its under your session timeout). The only thing you will need is jQuery. Note that some people like to refresh variable into their scripting language variable but I left it out of this as I wanted to make it friendly to any programming language.</p>
<blockquote><p>&lt;script src=&#8221;/js/jquery-1.3.2.min.js&#8221; type=&#8221;text/javascript&#8221;&gt;&lt;/script&gt;<br />
&lt;script type=&#8221;text/javascript&#8221;&gt;<br />
$(document).ready(function(){<br />
setTimeout(&#8220;callserver()&#8221;,6000);<br />
});</p>
<p>function callserver() {<br />
var remoteURL = &#8216;/emptypage.cfm&#8217;;<br />
$.get(remoteURL,  function(data) { setTimeout(&#8220;callserver()&#8221;,6000); });<br />
}<br />
&lt;/script&gt;</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.thingsfromthenet.com/web-development/keeping-session-alive-with-jquery/186/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

