<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<rss version="2.0">
  <channel>
  <title>cherrypy-users Google Group</title>
  <link>http://groups.google.com/group/cherrypy-users</link>
  <description>For questions about using CherryPy</description>
  <language>en</language>
  <item>
  <title>Re: [cherrypy-users] Re: sessions/cookies</title>
  <link>http://groups.google.com/group/cherrypy-users/browse_thread/thread/bcae0fe34ad4cbcb/22694bdbad140a58?show_docid=22694bdbad140a58</link>
  <description>
  Why? The mechanism to read and set cookies is there in JS, there&#39;s &lt;br&gt; nothing wrong with using it. &lt;br&gt; There is absolutely no restriction that says you can pass only one &lt;br&gt; variable in the result. Packing up a lot of data in a string and then &lt;br&gt; parsing it is quite common practice. I&#39;d recommend using JSON, as &lt;br&gt; parsing it on the client side requires nothing more than a call to
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/cherrypy-users/browse_thread/thread/bcae0fe34ad4cbcb/22694bdbad140a58?show_docid=22694bdbad140a58</guid>
  <author>
  arna...@gmail.com
  (Arnar Birgisson)
  </author>
  <pubDate>Sun, 07 Sep 2008 15:29:57 UT
</pubDate>
  </item>
  <item>
  <title>Re: [cherrypy-users] Re: sessions/cookies</title>
  <link>http://groups.google.com/group/cherrypy-users/browse_thread/thread/bcae0fe34ad4cbcb/e2c26535869060c6?show_docid=e2c26535869060c6</link>
  <description>
  Hi Pawel: &lt;br&gt; If both client and server need to know the same shared state, then something &lt;br&gt; is probably wrong. I&#39;ve never needed to access cookie data in the &lt;br&gt; javascript. &lt;br&gt; Normally I would just have passed the variable fro, the server to the client &lt;br&gt; as a straight variable. The complication is in using AJAX where I return one
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/cherrypy-users/browse_thread/thread/bcae0fe34ad4cbcb/e2c26535869060c6?show_docid=e2c26535869060c6</guid>
  <author>
  brahmafor...@gmail.com
  (arjuna)
  </author>
  <pubDate>Sun, 07 Sep 2008 14:45:53 UT
</pubDate>
  </item>
  <item>
  <title>RE: [cherrypy-users] Re: sessions/cookies</title>
  <link>http://groups.google.com/group/cherrypy-users/browse_thread/thread/bcae0fe34ad4cbcb/962f5ee7126fcc1d?show_docid=962f5ee7126fcc1d</link>
  <description>
  Correct. If your implementation is noticeably slower because the client sends another header, then either 1) you need something faster, more persistent, and at a smaller grain than HTTP, or 2) you need to rearchitect your app to send fewer requests and larger messages. HTTP-the-protocol is optimized for fewer, larger messages, regardless of implementation. There&#39;s also 3) you haven&#39;t noticed anything yet because your optimization is premature. I&#39;m leaning toward that one. ;)
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/cherrypy-users/browse_thread/thread/bcae0fe34ad4cbcb/962f5ee7126fcc1d?show_docid=962f5ee7126fcc1d</guid>
  <author>
  fuman...@aminus.org
  (Robert Brewer)
  </author>
  <pubDate>Sun, 07 Sep 2008 14:34:19 UT
</pubDate>
  </item>
  <item>
  <title>Re: [cherrypy-users] Re: sessions/cookies</title>
  <link>http://groups.google.com/group/cherrypy-users/browse_thread/thread/bcae0fe34ad4cbcb/c860f8bc055186bc?show_docid=c860f8bc055186bc</link>
  <description>
  W liście arjuna z dnia niedziela, 7 września 2008: &lt;br&gt; Let&#39;s don&#39;t overestimate the problem. &lt;br&gt; Every request from the browser will contain the cookie. The response will only &lt;br&gt; contain it if it changes. &lt;br&gt; Also note, that you can not trust the data that comes from the cookie - it &lt;br&gt; should be treated as possibly malicious, just like data in the POST body and
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/cherrypy-users/browse_thread/thread/bcae0fe34ad4cbcb/c860f8bc055186bc?show_docid=c860f8bc055186bc</guid>
  <author>
  pstradom...@gmail.com
  (Paweł Stradomski)
  </author>
  <pubDate>Sun, 07 Sep 2008 13:52:44 UT
</pubDate>
  </item>
  <item>
  <title>Re: [cherrypy-users] Re: sessions/cookies</title>
  <link>http://groups.google.com/group/cherrypy-users/browse_thread/thread/bcae0fe34ad4cbcb/699ffba0afa936da?show_docid=699ffba0afa936da</link>
  <description>
  Folks: &lt;br&gt; Sorry if I sound simplistic, a bit of which I am, when it comes to thinking &lt;br&gt; about programming, correct me if i am wrong: &lt;br&gt; Sessions and cookies are both expensive in terms of resources. Sessions &lt;br&gt; should be avoided and turned off as much as possible &lt;br&gt; Say I have a user logged into my system. I store his user ID in a client
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/cherrypy-users/browse_thread/thread/bcae0fe34ad4cbcb/699ffba0afa936da?show_docid=699ffba0afa936da</guid>
  <author>
  brahmafor...@gmail.com
  (arjuna)
  </author>
  <pubDate>Sun, 07 Sep 2008 04:15:36 UT
</pubDate>
  </item>
  <item>
  <title>Re: 408 with v3.1 behind apache/mod_proxy</title>
  <link>http://groups.google.com/group/cherrypy-users/browse_thread/thread/e751976da1d01390/e7fe9a581600c109?show_docid=e7fe9a581600c109</link>
  <description>
  FYI, it happens then: &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://cherrypy.org/ticket/810&quot;&gt;[link]&lt;/a&gt;
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/cherrypy-users/browse_thread/thread/e751976da1d01390/e7fe9a581600c109?show_docid=e7fe9a581600c109</guid>
  <author>
  sylvain.hellegoua...@gmail.com
  (Sylvain Hellegouarch)
  </author>
  <pubDate>Sat, 06 Sep 2008 16:23:00 UT
</pubDate>
  </item>
  <item>
  <title>Re: 408 with v3.1 behind apache/mod_proxy</title>
  <link>http://groups.google.com/group/cherrypy-users/browse_thread/thread/e751976da1d01390/2cac2fc9b2b828ab?show_docid=2cac2fc9b2b828ab</link>
  <description>
  FYI, I see the time out error consistently with CP 3.1 and httplib2 &lt;br&gt; without any intermediary. &lt;br&gt; &lt;p&gt;- Sylvain
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/cherrypy-users/browse_thread/thread/e751976da1d01390/2cac2fc9b2b828ab?show_docid=2cac2fc9b2b828ab</guid>
  <author>
  sylvain.hellegoua...@gmail.com
  (Sylvain Hellegouarch)
  </author>
  <pubDate>Sat, 06 Sep 2008 16:20:55 UT
</pubDate>
  </item>
  <item>
  <title>Re: [cherrypy-users] lots of POST data</title>
  <link>http://groups.google.com/group/cherrypy-users/browse_thread/thread/659733734d45f73d/b435f26411ec5861?show_docid=b435f26411ec5861</link>
  <description>
  It is indeed, using this config entry: &lt;br&gt; server.max_request_body_size = &lt;br&gt; Server config entries need to go under the global config namespace... &lt;br&gt; Yours, &lt;br&gt; Eric
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/cherrypy-users/browse_thread/thread/659733734d45f73d/b435f26411ec5861?show_docid=b435f26411ec5861</guid>
  <author>
  gir...@gmail.com
  (Eric Abrahamsen)
  </author>
  <pubDate>Sat, 06 Sep 2008 04:21:14 UT
</pubDate>
  </item>
  <item>
  <title>Re: [cherrypy-users] Re: sessions/cookies</title>
  <link>http://groups.google.com/group/cherrypy-users/browse_thread/thread/bcae0fe34ad4cbcb/8293b3fdccd9dddb?show_docid=8293b3fdccd9dddb</link>
  <description>
  W liście Christian Wyglendowski z dnia piątek, 5 września 2008: &lt;br&gt; Well. AFAIK Rails only sign session cookies, but does not encyrpt them (as &lt;br&gt; opposed to ex. beaker, which can do both). This means the cookie can be read, &lt;br&gt; but not tampered with. The data in the cookie looks like garbage only because
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/cherrypy-users/browse_thread/thread/bcae0fe34ad4cbcb/8293b3fdccd9dddb?show_docid=8293b3fdccd9dddb</guid>
  <author>
  pstradom...@gmail.com
  (Paweł Stradomski)
  </author>
  <pubDate>Fri, 05 Sep 2008 22:14:00 UT
</pubDate>
  </item>
  <item>
  <title>lots of POST data</title>
  <link>http://groups.google.com/group/cherrypy-users/browse_thread/thread/659733734d45f73d/d89e45f755c35940?show_docid=d89e45f755c35940</link>
  <description>
  I seem to be running into a size limit when I POST data. It seems to &lt;br&gt; be around 75MB. The client dies with &amp;quot;Connection reset by peer&amp;quot;, and &lt;br&gt; CherryPy doesn&#39;t show any messages. Is this size limit something I can &lt;br&gt; tune?
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/cherrypy-users/browse_thread/thread/659733734d45f73d/d89e45f755c35940?show_docid=d89e45f755c35940</guid>
  <author>
  aoma...@gmail.com
  (Alexander Marks)
  </author>
  <pubDate>Fri, 05 Sep 2008 21:34:27 UT
</pubDate>
  </item>
  <item>
  <title>Re: [cherrypy-users] Re: sessions/cookies</title>
  <link>http://groups.google.com/group/cherrypy-users/browse_thread/thread/bcae0fe34ad4cbcb/7aef301778d53293?show_docid=7aef301778d53293</link>
  <description>
  It&#39;s a good idea to turn off sessions on your static-serving &lt;br&gt; subdirectories unless you absolutely need them. &lt;br&gt; That said, there are other reasons you wouldn&#39;t want to send the &lt;br&gt; session data in the actual cookie. You probably don&#39;t want someone &lt;br&gt; tampering with the data in the cookie and then sending it back. That
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/cherrypy-users/browse_thread/thread/bcae0fe34ad4cbcb/7aef301778d53293?show_docid=7aef301778d53293</guid>
  <author>
  christ...@dowski.com
  (Christian Wyglendowski)
  </author>
  <pubDate>Fri, 05 Sep 2008 17:44:48 UT
</pubDate>
  </item>
  <item>
  <title>Re: [cherrypy-users] Re: sessions/cookies</title>
  <link>http://groups.google.com/group/cherrypy-users/browse_thread/thread/bcae0fe34ad4cbcb/b5100b87f24e8d4f?show_docid=b5100b87f24e8d4f</link>
  <description>
  basic_auth authentication has nothing to do with either cookies or &lt;br&gt; sessions. Remember that basic_auth works with straight HTML pages, &lt;br&gt; where there is no scripting at all. It is a separate, private &lt;br&gt; communication between the web server and the browser. There is no way &lt;br&gt; from the server side (that I am aware of) to force a basic_auth login to
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/cherrypy-users/browse_thread/thread/bcae0fe34ad4cbcb/b5100b87f24e8d4f?show_docid=b5100b87f24e8d4f</guid>
  <author>
  t...@probo.com
  (Tim Roberts)
  </author>
  <pubDate>Fri, 05 Sep 2008 17:22:31 UT
</pubDate>
  </item>
  <item>
  <title>Re: [cherrypy-users] Re: sessions/cookies</title>
  <link>http://groups.google.com/group/cherrypy-users/browse_thread/thread/bcae0fe34ad4cbcb/3b14b86ed7635cf0?show_docid=3b14b86ed7635cf0</link>
  <description>
  The answer is &amp;quot;half yes,&amp;quot; not &amp;quot;BIG YES&amp;quot;. Yes, you can read cookies from &lt;br&gt; Javascript. However, a session variable is stored within the CherryPy &lt;br&gt; process on the server side. It is not transmitted to the client. The &lt;br&gt; cookie is just a way for CherryPy to go find the stored session data for &lt;br&gt; this session
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/cherrypy-users/browse_thread/thread/bcae0fe34ad4cbcb/3b14b86ed7635cf0?show_docid=3b14b86ed7635cf0</guid>
  <author>
  t...@probo.com
  (Tim Roberts)
  </author>
  <pubDate>Fri, 05 Sep 2008 17:16:59 UT
</pubDate>
  </item>
  <item>
  <title>Re: sessions/cookies</title>
  <link>http://groups.google.com/group/cherrypy-users/browse_thread/thread/bcae0fe34ad4cbcb/53f31a360f9b8cf7?show_docid=53f31a360f9b8cf7</link>
  <description>
  thanks for the quick reply. &lt;br&gt; &lt;p&gt;very eductaed speculation. that works. i think i was assuming that cp &lt;br&gt; figures that out automatically, &lt;br&gt; just as rails does. my bad. &lt;br&gt; by itself. if i add tools.sessions.on i end up getting two &amp;quot;cookies&amp;quot; &lt;br&gt; a) the cookie generated by setCookie and &lt;br&gt; b) the cookie holding the session id
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/cherrypy-users/browse_thread/thread/bcae0fe34ad4cbcb/53f31a360f9b8cf7?show_docid=53f31a360f9b8cf7</guid>
  <author>
  hoteljo...@gmail.com
  (morecowbell)
  </author>
  <pubDate>Thu, 04 Sep 2008 17:39:51 UT
</pubDate>
  </item>
  <item>
  <title>Re: [cherrypy-users] Re: sessions/cookies</title>
  <link>http://groups.google.com/group/cherrypy-users/browse_thread/thread/bcae0fe34ad4cbcb/829e9f5de1cd9919?show_docid=829e9f5de1cd9919</link>
  <description>
  The java in the previous post should read javascript
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/cherrypy-users/browse_thread/thread/bcae0fe34ad4cbcb/829e9f5de1cd9919?show_docid=829e9f5de1cd9919</guid>
  <author>
  brahmafor...@gmail.com
  (arjuna)
  </author>
  <pubDate>Fri, 05 Sep 2008 08:33:04 UT
</pubDate>
  </item>
  </channel>
</rss>
