<?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: Session support for Dancer, 1.0 is near</title>
	<atom:link href="http://www.sukria.net/fr/archives/2009/10/16/session-support-for-dancer-1-0-is-near/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sukria.net/fr/archives/2009/10/16/session-support-for-dancer-1-0-is-near/</link>
	<description>I will press many keys on my keyboard causing an implementation to occur.</description>
	<lastBuildDate>Wed, 18 Jan 2012 22:14:04 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: sukria</title>
		<link>http://www.sukria.net/fr/archives/2009/10/16/session-support-for-dancer-1-0-is-near/comment-page-1/#comment-46058</link>
		<dc:creator>sukria</dc:creator>
		<pubDate>Tue, 20 Oct 2009 07:19:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.sukria.net/fr/?p=1284#comment-46058</guid>
		<description>Kai I&#039;m going to fix that, thanks! :)</description>
		<content:encoded><![CDATA[<p>Kai I&#8217;m going to fix that, thanks! :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kai Carver</title>
		<link>http://www.sukria.net/fr/archives/2009/10/16/session-support-for-dancer-1-0-is-near/comment-page-1/#comment-46057</link>
		<dc:creator>Kai Carver</dc:creator>
		<pubDate>Mon, 19 Oct 2009 21:39:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.sukria.net/fr/?p=1284#comment-46057</guid>
		<description>ok I see.

But do please consider changing the name of the &quot;retreive&quot; function to &quot;retrieve&quot;.

Otherwise you will confuse people forever (like the guy who made the &quot;referer&quot; misspelling a permanent part of the HTTP spec...). I know this is inconsistent with the spelling of &quot;receive&quot;, but that&#039;s an unfixable bug in the English language...</description>
		<content:encoded><![CDATA[<p>ok I see.</p>
<p>But do please consider changing the name of the &#8220;retreive&#8221; function to &#8220;retrieve&#8221;.</p>
<p>Otherwise you will confuse people forever (like the guy who made the &#8220;referer&#8221; misspelling a permanent part of the HTTP spec&#8230;). I know this is inconsistent with the spelling of &#8220;receive&#8221;, but that&#8217;s an unfixable bug in the English language&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sukria</title>
		<link>http://www.sukria.net/fr/archives/2009/10/16/session-support-for-dancer-1-0-is-near/comment-page-1/#comment-46056</link>
		<dc:creator>sukria</dc:creator>
		<pubDate>Mon, 19 Oct 2009 07:54:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.sukria.net/fr/?p=1284#comment-46056</guid>
		<description>Kai, Tatsuhiko: here is what I meant:

&lt;pre&gt;
sinatra$ ack session lib/
lib/sinatra/base.rb
106:    # Access the underlying Rack session.
107:    def session
108:      env[&#039;rack.session&#039;] &#124;&#124;= {}
921:        builder.use Rack::Session::Cookie if sessions?
999:    set :sessions, false
1063:    set :sessions, false
&lt;/pre&gt;

If Rack is not installed (the gem I mean) then sinatra cannot provide session support. This was my point here.</description>
		<content:encoded><![CDATA[<p>Kai, Tatsuhiko: here is what I meant:</p>
<pre>
sinatra$ ack session lib/
lib/sinatra/base.rb
106:    # Access the underlying Rack session.
107:    def session
108:      env['rack.session'] ||= {}
921:        builder.use Rack::Session::Cookie if sessions?
999:    set :sessions, false
1063:    set :sessions, false
</pre>
<p>If Rack is not installed (the gem I mean) then sinatra cannot provide session support. This was my point here.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kai Carver</title>
		<link>http://www.sukria.net/fr/archives/2009/10/16/session-support-for-dancer-1-0-is-near/comment-page-1/#comment-46055</link>
		<dc:creator>Kai Carver</dc:creator>
		<pubDate>Sun, 18 Oct 2009 22:16:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.sukria.net/fr/?p=1284#comment-46055</guid>
		<description>&gt; Sinatra doesn&#039;t hanlde sessions at all

Sure?

&quot;Sinatra ships with basic support for cookie-based sessions&quot;
http://www.sinatrarb.com/book.html#sessions


Also, &quot;retrieve&quot; is the more common spelling :-)</description>
		<content:encoded><![CDATA[<p>&gt; Sinatra doesn&#8217;t hanlde sessions at all</p>
<p>Sure?</p>
<p>&#8220;Sinatra ships with basic support for cookie-based sessions&#8221;<br />
<a href="http://www.sinatrarb.com/book.html#sessions" rel="nofollow">http://www.sinatrarb.com/book.html#sessions</a></p>
<p>Also, &#8220;retrieve&#8221; is the more common spelling :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sukria</title>
		<link>http://www.sukria.net/fr/archives/2009/10/16/session-support-for-dancer-1-0-is-near/comment-page-1/#comment-46054</link>
		<dc:creator>sukria</dc:creator>
		<pubDate>Fri, 16 Oct 2009 06:04:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.sukria.net/fr/?p=1284#comment-46054</guid>
		<description>Thanks for the precisions Tatsuhiko!</description>
		<content:encoded><![CDATA[<p>Thanks for the precisions Tatsuhiko!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tatsuhiko Miyagawa</title>
		<link>http://www.sukria.net/fr/archives/2009/10/16/session-support-for-dancer-1-0-is-near/comment-page-1/#comment-46053</link>
		<dc:creator>Tatsuhiko Miyagawa</dc:creator>
		<pubDate>Fri, 16 Oct 2009 03:47:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.sukria.net/fr/?p=1284#comment-46053</guid>
		<description>&gt;  That means that you can&#039;t write a session-aware app with Sinatra without installing Rack. Too bad.

Not really, since Rack is Rack, and most users would just use Rack. And even if you run in non-Rack with servers, $env[&#039;rack.session&#039;] is an abstract interface to get/set objects, so it should be easy (or at least possible) to write a middleware can that sets the env variable that does duck typing.</description>
		<content:encoded><![CDATA[<p>&gt;  That means that you can&#8217;t write a session-aware app with Sinatra without installing Rack. Too bad.</p>
<p>Not really, since Rack is Rack, and most users would just use Rack. And even if you run in non-Rack with servers, $env['rack.session'] is an abstract interface to get/set objects, so it should be easy (or at least possible) to write a middleware can that sets the env variable that does duck typing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tatsuhiko Miyagawa</title>
		<link>http://www.sukria.net/fr/archives/2009/10/16/session-support-for-dancer-1-0-is-near/comment-page-1/#comment-46052</link>
		<dc:creator>Tatsuhiko Miyagawa</dc:creator>
		<pubDate>Fri, 16 Oct 2009 03:44:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.sukria.net/fr/?p=1284#comment-46052</guid>
		<description>Yes, we have a plan to add Plack::Middleware::Session much like Rack does :)

We actually had that stuff in HTTP::Engine::Middleware, which uses the generic HTTP::Session module:
http://search.cpan.org/~yappo/HTTP-Engine-Middleware-0.17/lib/HTTP/Engine/Middleware/HTTPSession.pm
http://search.cpan.org/~tokuhirom/HTTP-Session-0.32/</description>
		<content:encoded><![CDATA[<p>Yes, we have a plan to add Plack::Middleware::Session much like Rack does :)</p>
<p>We actually had that stuff in HTTP::Engine::Middleware, which uses the generic HTTP::Session module:<br />
<a href="http://search.cpan.org/~yappo/HTTP-Engine-Middleware-0.17/lib/HTTP/Engine/Middleware/HTTPSession.pm" rel="nofollow">http://search.cpan.org/~yappo/HTTP-Engine-Middleware-0.17/lib/HTTP/Engine/Middleware/HTTPSession.pm</a><br />
<a href="http://search.cpan.org/~tokuhirom/HTTP-Session-0.32/" rel="nofollow">http://search.cpan.org/~tokuhirom/HTTP-Session-0.32/</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

