As I'm writing a django site from government bodies I'm not going to be able to use cookies. I found this snippet http://djangosnippets.org/snippets/1540/ but it's currently not allowing users to login. Before I start debugging I wondered if anyone else has solved this problem with this snippet or in any other way?
UPDATE
The ONLY answer seems to be the middleware/session in URL route but this becomes and even worse solution if you have a site which has a public section and a private section accessible when logged in. The route we have decided to go is to 'follow' the guidelines:
- The content and purpose of any cookie that is delivered by your website should always be communicated to the user.
- Users should have the ability to refuse a cookie without it affecting the basic usability of your website.
- Your website should notify your users if technical features of your site will be degraded as a result of their declining to accept cookies from it.
Our definition of basic is all the stuff that you can see without logging in. Let's hope that will sway them. This guideline dates back to 2002 and does not cater for modern web apps. Fingers crossed...
Thanks for everyones contributions.