title: session id changes when using redirect() in View
body: <p>I have a page with a form that I use for site search. The form uses POST verb to submit data to search for. The search results are displayed under the form after it is submitted.</p>
  
  <p>In an attempt to solve the "Page has expired" problem on IE I use the so called PRG pattern (http://en.wikipedia.org/wiki/Post/Redirect/Get). so I return django.shortcuts.redirect() from my view's post() method that redirects to the same URL.</p>
  
  <p>The problem is that in production I see different session ids associated with the GET requests sent after the 302 response. and since I store my form in the session to be able to split the results in to pages, I get inconsistent results.</p>
  
  <p>I run django under apache/mod_wsgi. apache is configured to run at most 3 processes.</p>
  
  <p>It does not happen right after I restart httpd, and it seems that it starts happening after the amount of memory consumed by httpd processes reaches some limit.</p>
  
  <p>I check this by repeatedly pressing the submit button, the form gets populated from the session so I can see the search strings that I have entered. when session changes, the form is returned blank. so, when this starts happening, the form gets successfully populated 2 times in a row, and when I press submit for the third time it returns blank, which means that the server returned new session cookies. this seems to have something to do with the ServerLimit setting.</p>
  
  <p>What is wrong? Any ideas?</p>
  
  <p>thanks</p>
  
  <p>Konstantin</p>