Hi, I've proposed anintegration of the useful session_api_get_sid() function to Flag module provided by Session API. Flag module provides a customizable function like Session Favourites, but it is heavily based on Views and uid. Session API could be a nice addition to Flag, since it allows anonymous users to flag contents.

Any suggestion provided by the Session Favorites experience is welcomed.

Comments

mitchell’s picture

Does session api offer a way to merge the anonymous user's session with a newly created account so that the anonymous user's flags will be merged into the newly created account?

jhedstrom’s picture

The session API module currently doesn't provide this functionality, although that is one of the long-term goals. The problem with flags integration is that it is very user-centric (all tables have a uid), which makes session integration difficult.

I know there has been some effort to address this via the visitor project (http://drupal.org/project/visitor), and if that pans out, this module will probably ultimately be merged with that one.

jhedstrom’s picture

Status: Active » Closed (works as designed)

Anonymous users for the flag module is being discussed in #271582: Allow anonymous users to flag content.