Welcome Guest, Not a member yet? Register   Sign In
Multi application and Session
#9

[eluser]Tacos[/eluser]
@PogiNate

I don't use the CodeIgniter user guide method for multi application but this one instead.

If you want to use CodeIgniter sessions in a multi application site you only have to use same cookies and sessions variables in each config.php file of each application :
Code:
$config['sess_cookie_name']
$config['sess_expiration']
$config['sess_match_ip']
$config['sess_match_useragent']

$config['cookie_prefix']
$config['cookie_domain']
$config['cookie_path']

If you want to use encryption the key must be the same :
Code:
$config['encryption_key']
$config['sess_encrypt_cookie']


Hope it can help you.


Messages In This Thread
Multi application and Session - by El Forum - 10-06-2007, 12:54 PM
Multi application and Session - by El Forum - 10-06-2007, 05:30 PM
Multi application and Session - by El Forum - 10-07-2007, 04:32 AM
Multi application and Session - by El Forum - 10-07-2007, 04:54 AM
Multi application and Session - by El Forum - 10-07-2007, 05:05 AM
Multi application and Session - by El Forum - 10-07-2007, 05:18 PM
Multi application and Session - by El Forum - 10-08-2007, 02:16 AM
Multi application and Session - by El Forum - 10-09-2007, 12:12 PM
Multi application and Session - by El Forum - 10-10-2007, 05:02 PM
Multi application and Session - by El Forum - 10-12-2007, 08:13 AM



Theme © iAndrew 2016 - Forum software by © MyBB