Code

Changes between Version 13 and Version 14 of SessionMessages


Ignore:
Timestamp:
10/10/09 09:35:50 (5 years ago)
Author:
tobias
Comment:

simplify criteria for session fallback

Legend:

Unmodified
Added
Removed
Modified
  • SessionMessages

    v13 v14  
    3030 
    3131 * Support message passing for anonymous users 
    32  * Avoid database/cache queries if possible 
    33  * Support larger messages that don't fit in a cookie (> 4kb) 
     32 * Uses the session only as a fallback: Avoid database/cache queries if possible, but support larger messages that don't fit in a cookie (> 4kb) when needed 
    3433 * Don't lose messages if they're not displayed to the user (lazy message loading) 
    3534 * Signs cookie-based messages 
     
    4140=== Available Options === 
    4241 
    43 ||'''Name and Link'''||'''Anonymous user support'''||'''Minimal DB Access'''||'''Supports messages > 4kb'''||'''Lazy loads messages'''||'''Signed cookies'''||'''Avoids pickling'''||'''Standard interface'''|| 
    44 ||[http://code.google.com/p/django-notify/ django-notify]||yes||yes||yes||yes||yes||no||yes|| 
    45 ||[http://github.com/danielfm/django-flash django-flash]||yes||sometimes||sometimes||no||yes||no||no|| 
    46 ||[http://github.com/leah/django-flash-status django-flash-status]||yes||sometimes||sometimes||no||yes||no||yes|| 
    47 ||[http://github.com/SeanOC/django-cnotes django-cnotes]||yes||yes||no||no||yes||no||yes|| 
     42||'''Name and Link'''||'''Anonymous user support'''||'''Session Fallback'''||'''Lazy loads messages'''||'''Signed cookies'''||'''Avoids pickling'''||'''Standard interface'''|| 
     43||[http://code.google.com/p/django-notify/ django-notify]||yes||yes||yes||yes||no||yes|| 
     44||[http://github.com/danielfm/django-flash django-flash]||yes||no||no||yes||no||no|| 
     45||[http://github.com/leah/django-flash-status django-flash-status]||yes||no||no||yes||no||yes|| 
     46||[http://github.com/SeanOC/django-cnotes django-cnotes]||yes||no||no||yes||no||yes|| 
    4847 
    4948 * '''yes''' means yes, always