Hello Everyone,
How about rolling our own session ids?
Why? it would be better to do so in order to work with cross-domains, domain aliases and multiple sub folder installations.
For exmaple:
www.mydomain.com and shop.mydomain.com all point the same modx installtion but the domain is different.
If we were to use the $base_path + $site_id + user's ip address we could create a unique session id for that user.
With this id it does not matter which domain the user is using as long as they are using the same modx installation.
This will also solve multiple sub folder installations of modx.
The question is, will this id be secure and unique? IMO yes! Who will know your base_path and site_id settings? If someone does then they will also know your datbase password, etc
The system is as secure as your config.inc.php file is secure
What do you think?