Guests vs. Members

Shortlist can be used to let guests on your site create and edit lists just like regular members. When a guest uses Shortlist, a cookie is set to associate them to their lists. This works really well when they're just guests. However if they clear that cookie (or it expires) they'll loose access to the lists.

If the user is logged in, all the data is directly associated with their member_id instead, and shortlist uses EE's native session_id instead. Even if they log out, and change machines, the list data will still be retained and when they log in again, it'll be right there.

Guests that Login New!

Just added in Shortlist 2.0 is the ability to detect when a guest has logged in, and now has a member_id to associate their data with. If this happens, all the lists they created as a guest will be automatically merged against their member_id. Now that data is nice and safe. If they log off or move machines, it'll be right there for them. Super.

Note: If you don't want this behavior, you can turn it off by setting the config value in shortlist/config.php for 'SHORTLIST_REASSIGN_GUEST_SESSIONS_ON_LOGIN' to false

Only Supporting a Single per User List?

If you're only supporting a single list per user on your site you'll want to change a config value to change the behavior of the merge on login function.

Note: Set the 'SHORTLIST_REASSIGN_GUEST_SESSIONS_ON_LOGIN_MERGE' to false in shortlist/config.php. This changes the behavior of the merge to move over the list items into a single list, and remove any duplicates as needed.