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
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.

AttachmentSize
known_user_role.patch6.67 KB

#1

greg.harvey - January 25, 2009 - 17:49
Status:needs review» fixed

Thanks for the patch. Applied and committed, but not a release just yet. =)

#2

System Message - February 8, 2009 - 17:50
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.