just sessions and users shared between sites?
gcassie - August 17, 2008 - 20:24
| Project: | Shared Sign-On |
| Version: | 5.x-1.3 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Has anyone tried using this module and not sharing the roles and sequences tables? I have a web app I'd like to hang off an existing site. It will need its own set of roles and I don't want to clutter up the roles of the main site. The content of this web app would also be independent of the main site's content, so I'd like to keep the sequences separated as well. I'm thinking a table-sharing scheme like the following will basically just make logins persist across sites:
<?php
$db_prefix = array(
'default' => 'somesitename_',
'sessions' => 'shared_',
'users' => 'shared_',
?>
#1
Yes, it should work fine. You might want to share profiles too, if you use them, but again you don't have to.