Fix for the cached page problem with the welcome block
bht - January 16, 2009 - 16:45
| Project: | Known User Role |
| Version: | 6.x-1.2 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
Caching prevents the personalised login block from being personal. This fix allows a personal message to appear when caching is switched on.
In order to render the welcome block with the firstname of the last logged in user on that machine, the firstname is included in the login cookie. This firstname field is applied to an element in the welcome block by a short script. Users with javascript switched off will simply see a generic welcome.
| Attachment | Size |
|---|---|
| known_user_role.patch | 6.67 KB |

#1
Thanks for the patch. Applied and committed, but not a release just yet. =)
#2
Automatically closed -- issue fixed for 2 weeks with no activity.