<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Why you need to manage Ruby sessions</title>
	<atom:link href="http://paulgoscicki.com/archives/2007/01/why-you-need-to-manage-ruby-sessions/feed/" rel="self" type="application/rss+xml" />
	<link>http://paulgoscicki.com/archives/2007/01/why-you-need-to-manage-ruby-sessions/</link>
	<description>Random pieces of code, thoughts and movie reviews</description>
	<lastBuildDate>Sun, 10 Mar 2013 03:58:49 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Paul Goscicki</title>
		<link>http://paulgoscicki.com/archives/2007/01/why-you-need-to-manage-ruby-sessions/comment-page-1/#comment-17794</link>
		<dc:creator>Paul Goscicki</dc:creator>
		<pubDate>Wed, 21 Feb 2007 10:12:30 +0000</pubDate>
		<guid isPermaLink="false">http://paulgoscicki.com/archives/2007/01/why-you-need-to-manage-ruby-sessions/#comment-17794</guid>
		<description>Evan: Oh, believe me, I &lt;em&gt;know&lt;/em&gt;. It seems that you just did not get the &lt;em&gt;joke&lt;/em&gt;. But don&#039;t worry, you are not alone. Apparently I must work more on my comedy skills .)</description>
		<content:encoded><![CDATA[<p>Evan: Oh, believe me, I <em>know</em>. It seems that you just did not get the <em>joke</em>. But don&#8217;t worry, you are not alone. Apparently I must work more on my comedy skills .)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Evan</title>
		<link>http://paulgoscicki.com/archives/2007/01/why-you-need-to-manage-ruby-sessions/comment-page-1/#comment-17790</link>
		<dc:creator>Evan</dc:creator>
		<pubDate>Wed, 21 Feb 2007 06:25:35 +0000</pubDate>
		<guid isPermaLink="false">http://paulgoscicki.com/archives/2007/01/why-you-need-to-manage-ruby-sessions/#comment-17790</guid>
		<description>rake tmp:sessions:clear</description>
		<content:encoded><![CDATA[<p>rake tmp:sessions:clear</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Goscicki</title>
		<link>http://paulgoscicki.com/archives/2007/01/why-you-need-to-manage-ruby-sessions/comment-page-1/#comment-17089</link>
		<dc:creator>Paul Goscicki</dc:creator>
		<pubDate>Mon, 05 Feb 2007 11:56:52 +0000</pubDate>
		<guid isPermaLink="false">http://paulgoscicki.com/archives/2007/01/why-you-need-to-manage-ruby-sessions/#comment-17089</guid>
		<description>Yeah, that&#039;s what I&#039;ve figured out judging by the &lt;a href=&quot;http://imdb.com/title/tt0498380/awards&quot; rel=&quot;nofollow&quot;&gt;awards&lt;/a&gt; alone. I really can&#039;t wait to see it! :)</description>
		<content:encoded><![CDATA[<p>Yeah, that&#8217;s what I&#8217;ve figured out judging by the <a href="http://imdb.com/title/tt0498380/awards" rel="nofollow">awards</a> alone. I really can&#8217;t wait to see it! <img src='http://paulgoscicki.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: trench</title>
		<link>http://paulgoscicki.com/archives/2007/01/why-you-need-to-manage-ruby-sessions/comment-page-1/#comment-17084</link>
		<dc:creator>trench</dc:creator>
		<pubDate>Mon, 05 Feb 2007 09:01:03 +0000</pubDate>
		<guid isPermaLink="false">http://paulgoscicki.com/archives/2007/01/why-you-need-to-manage-ruby-sessions/#comment-17084</guid>
		<description>Paul, noticed you watched Flags of our Fathers. Just to let you know, Letters from IWO JIMA was awesome.</description>
		<content:encoded><![CDATA[<p>Paul, noticed you watched Flags of our Fathers. Just to let you know, Letters from IWO JIMA was awesome.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dayne</title>
		<link>http://paulgoscicki.com/archives/2007/01/why-you-need-to-manage-ruby-sessions/comment-page-1/#comment-16725</link>
		<dc:creator>Dayne</dc:creator>
		<pubDate>Tue, 30 Jan 2007 20:50:22 +0000</pubDate>
		<guid isPermaLink="false">http://paulgoscicki.com/archives/2007/01/why-you-need-to-manage-ruby-sessions/#comment-16725</guid>
		<description>Or you can use the handy find command (helpful if you put in a cronjob)
# find sessions older than a week and toast them
find tmp/sessions -atime +7 -exec rm {} \;
# to see what it would delete w/o deleting it:
find tmp/sessions -atime +7 -exec echo {} \;

turn that into a script and put into your crontab to run nightly at 3am
0 3 * * * /home/user/rails/cleanup_sessions.sh</description>
		<content:encoded><![CDATA[<p>Or you can use the handy find command (helpful if you put in a cronjob)<br />
# find sessions older than a week and toast them<br />
find tmp/sessions -atime +7 -exec rm {} \;<br />
# to see what it would delete w/o deleting it:<br />
find tmp/sessions -atime +7 -exec echo {} \;</p>
<p>turn that into a script and put into your crontab to run nightly at 3am<br />
0 3 * * * /home/user/rails/cleanup_sessions.sh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luke</title>
		<link>http://paulgoscicki.com/archives/2007/01/why-you-need-to-manage-ruby-sessions/comment-page-1/#comment-16681</link>
		<dc:creator>Luke</dc:creator>
		<pubDate>Tue, 30 Jan 2007 04:35:02 +0000</pubDate>
		<guid isPermaLink="false">http://paulgoscicki.com/archives/2007/01/why-you-need-to-manage-ruby-sessions/#comment-16681</guid>
		<description>Ah, ok. Got it. :)</description>
		<content:encoded><![CDATA[<p>Ah, ok. Got it. <img src='http://paulgoscicki.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Goscicki</title>
		<link>http://paulgoscicki.com/archives/2007/01/why-you-need-to-manage-ruby-sessions/comment-page-1/#comment-16671</link>
		<dc:creator>Paul Goscicki</dc:creator>
		<pubDate>Tue, 30 Jan 2007 00:56:41 +0000</pubDate>
		<guid isPermaLink="false">http://paulgoscicki.com/archives/2007/01/why-you-need-to-manage-ruby-sessions/#comment-16671</guid>
		<description>Yea, I know all that (apart from the &lt;code&gt;rm -f&lt;/code&gt; idea). This post was supposed to be a joke .)</description>
		<content:encoded><![CDATA[<p>Yea, I know all that (apart from the <code>rm -f</code> idea). This post was supposed to be a joke .)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luke</title>
		<link>http://paulgoscicki.com/archives/2007/01/why-you-need-to-manage-ruby-sessions/comment-page-1/#comment-16667</link>
		<dc:creator>Luke</dc:creator>
		<pubDate>Tue, 30 Jan 2007 00:00:39 +0000</pubDate>
		<guid isPermaLink="false">http://paulgoscicki.com/archives/2007/01/why-you-need-to-manage-ruby-sessions/#comment-16667</guid>
		<description>Also, in worst case, you can always set up a cronjob to purge that directory every day/week/month (whichever seems appropriate).</description>
		<content:encoded><![CDATA[<p>Also, in worst case, you can always set up a cronjob to purge that directory every day/week/month (whichever seems appropriate).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luke</title>
		<link>http://paulgoscicki.com/archives/2007/01/why-you-need-to-manage-ruby-sessions/comment-page-1/#comment-16666</link>
		<dc:creator>Luke</dc:creator>
		<pubDate>Mon, 29 Jan 2007 23:59:43 +0000</pubDate>
		<guid isPermaLink="false">http://paulgoscicki.com/archives/2007/01/why-you-need-to-manage-ruby-sessions/#comment-16666</guid>
		<description>Are Ruby sessions similar to PHP sessions? And if yes, doesn&#039;t rails have a mechanism for purging old and expired sessions?

Did you try:

&lt;code&gt;rm -f tmp/sessions
mkdir tmp/sessions&lt;/code&gt;

This way you avoid the argument expansion thing, I think. To tell you the truth I actually never had that issue in bash.</description>
		<content:encoded><![CDATA[<p>Are Ruby sessions similar to PHP sessions? And if yes, doesn&#8217;t rails have a mechanism for purging old and expired sessions?</p>
<p>Did you try:</p>
<p><code>rm -f tmp/sessions<br />
mkdir tmp/sessions</code></p>
<p>This way you avoid the argument expansion thing, I think. To tell you the truth I actually never had that issue in bash.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
