Merge lp:~andrewberry/pressflow/529252-has-js-cookie into lp:pressflow
Proposed by
Andrew Berry
Status: | Rejected |
---|---|
Rejected by: | David Strauss |
Proposed branch: | lp:~andrewberry/pressflow/529252-has-js-cookie |
Merge into: | lp:pressflow |
Diff against target: |
57 lines (+19/-5) 3 files modified
includes/common.inc (+7/-0) misc/drupal.js (+7/-5) misc/jsenabled.js (+5/-0) |
To merge this branch: | bzr merge lp:~andrewberry/pressflow/529252-has-js-cookie |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Pressflow Administrators | Pending | ||
Review via email: mp+69900@code.launchpad.net |
Description of the change
Set the has_js cookie for authenticated users. This allows the Batch API to use the JS version for authenticated users if they have JS enabled.
To post a comment you must log in.
Unmerged revisions
- 106. By Andrew Berry
-
Allow setting of the has_js cookie for authenticated users.
- 105. By Andrew Berry
-
Restore the Drupal.jsEnabled variable.
What happens after the user logs out? Shouldn't the cookie be deleted?
Why don't we set the cookie for anonymous users as well like drupal does?
AFAIK the feature has been removed from pressflow to allow varnish to cache pages for anonymous users. They are destinguished form authenticated users using the session cookie and the "HTTP-Vary- Cookie- Header" . But I think that varnish could simply be configured to ignore the has_js-cookie like most people already do for google analytics cookies.