Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>You are Using Django Sessions App Correct?</p> <p>If that is the case then it stores the current session ID in a cookie whose name is specified with the setting <code>SESSION_COOKIE_NAME</code> and it defaults to sessionid. Since you are not experiencing this issue in Firefox, I believe it should be safe to assume that your session handling and storage within Django is working fine.</p> <p>The most likely culprit here is that IE is losing/deleting the sessionid cookie, causing it start a new session after the redirect. A quick google on the subject seems to confirm this. </p> <p>You can see some related information at:</p> <ul> <li><a href="http://www.persistall.com/archive/2008/01/25/cookies--redirects--nightmares.aspx" rel="nofollow">http://www.persistall.com/archive/2008/01/25/cookies--redirects--nightmares.aspx</a></li> <li><a href="http://jhottengineering.blogspot.com/2009/02/ie-post-and-redirect-errors.html" rel="nofollow">http://jhottengineering.blogspot.com/2009/02/ie-post-and-redirect-errors.html</a></li> </ul> <p>Now, in order to actually solve your problem. Django does not set a session cookie unless it actually needs too (i.e. If you set Session Data). If the only place you set session data is in the view when you POST, then IE is going to discard the cookie setting the sessionid.</p> <p>So a quick and simple bandaid would be to just save some junk data (or default values?) to the session during the GET to display the form originally before the POST, that will IE will get the sessionid cookie, and things should work.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload