In my sites, advuser is not enabled for any user roles; I use it only as admin.

I was very surprised, therefore, to find a session cookie set for anonymous users.

It looked like this:

[advuser] => Array
    (
        [accounts] => Array
            (
            )
        [deselected] => Array
            (
            )
        [filters] => Array
            (
            )
        [phase] => Array
            (
                [id] => 0
            )
        [return] =>
        [selectall] =>
    )

I have now disabled the module and the cookie is gone but I am interested in using it again once this is resolved.

CommentFileSizeAuthor
#2 advuser_sessions-1261912-2.patch1.28 KBpbull
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Anonymous’s picture

Priority: Normal » Major

Thanks for the report. I'll see if I can get to it soon but probably not before the end of the year.

pbull’s picture

Version: 6.x-3.0-alpha1 » 7.x-3.x-dev
Status: Active » Needs review
FileSize
1.28 KB

Setting sessions for anonymous users breaks Varnish, which can have a major performance impact on sites that make use of Varnish for caching anonymous requests.

Patch to advuser_init() attached. Patch against 7.x-3.x-dev; this patch applies to 6.x-3.x-dev as well.

Anonymous’s picture

Status: Needs review » Reviewed & tested by the community

I like this patch.

Anonymous’s picture

I've committed this patch to the 6.x-3.x-dev version at http://drupalcode.org/project/advuser.git/commit/9a9c8b1 and will do the same for 7.x-3.x-dev soon.

Anonymous’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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